Compare commits
No commits in common. "a71799815a11e77ead80a99d8e2beb5f4d52d05d" and "43f82bdedbfe863d285a95b2d225693c2d1001a2" have entirely different histories.
a71799815a
...
43f82bdedb
|
@ -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 attrs;
|
type = with lib.types; attrsOf inferred;
|
||||||
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".text = lib.generators.toINI { } cfg.config;
|
xdg.configFile."flameshot/flameshot.ini" = 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