satty: add config

This commit is contained in:
Leonardo Eugênio 2025-06-22 23:56:09 -03:00
parent f410503e66
commit 0fa0d0b7a9
No known key found for this signature in database
GPG key ID: 2F8F21CE8721456B
5 changed files with 88 additions and 1 deletions

22
user/satty/default.nix Normal file
View file

@ -0,0 +1,22 @@
{
pkgs,
lib,
config,
...
}:
let
cfg = config.my.satty;
in
{
options.my.satty.enable = lib.mkEnableOption { };
config = lib.mkIf cfg.enable {
xdg.configFile."satty/config.toml" = {
source = ./config.toml;
};
home.packages = with pkgs; [
satty
];
};
}