Compare commits

...

3 Commits

Author SHA1 Message Date
Zynh Ludwig a71799815a enable backup? 2024-07-30 23:19:34 -07:00
Zynh Ludwig cd3715f21a flameshot: text for configFile 2024-07-30 23:15:14 -07:00
Zynh Ludwig e10d94f984 flameshot: attrsOf attrs 2024-07-30 23:14:28 -07:00
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ in
enable = lib.mkEnableOption "flameshot home-manager module"; enable = lib.mkEnableOption "flameshot home-manager module";
config = lib.mkOption { config = lib.mkOption {
type = with lib.types; attrsOf inferred; type = with lib.types; attrsOf attrs;
description = "the flameshot config as an attrs of attrs"; description = "the flameshot config as an attrs of attrs";
default = { }; default = { };
}; };
@ -17,6 +17,6 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ flameshot ]; home.packages = with pkgs; [ flameshot ];
xdg.configFile."flameshot/flameshot.ini" = lib.generators.toINI { } cfg.config; xdg.configFile."flameshot/flameshot.ini".text = lib.generators.toINI { } cfg.config;
}; };
} }

View File

@ -97,7 +97,7 @@
home-manager = { home-manager = {
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
users = { "ravenshade" = import ./home.nix; }; users = { "ravenshade" = import ./home.nix; };
# backupFileExtension = "backup"; backupFileExtension = "backup";
}; };
# Allow unfree packages # Allow unfree packages