flameshot: use service
This commit is contained in:
parent
49534c199c
commit
fa11adab6b
1 changed files with 6 additions and 1 deletions
|
@ -24,6 +24,11 @@ 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".text = lib.generators.toINI { } cfg.config;
|
||||||
|
|
||||||
|
services.flameshot = {
|
||||||
|
enable = true;
|
||||||
|
settings = cfg.config;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue