Compare commits
3 Commits
43f82bdedb
...
a71799815a
Author | SHA1 | Date |
---|---|---|
Zynh Ludwig | a71799815a | |
Zynh Ludwig | cd3715f21a | |
Zynh Ludwig | e10d94f984 |
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue