flameshot: use service

This commit is contained in:
Zynh Ludwig 2025-03-12 16:28:11 -07:00
parent 49534c199c
commit fa11adab6b

View file

@ -24,6 +24,11 @@ in
config = lib.mkIf cfg.enable {
# 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;
};
};
}