From fa11adab6bdc55a995000fa8b83c58fd94bcab35 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig <zynh0722@gmail.com> Date: Wed, 12 Mar 2025 16:28:11 -0700 Subject: [PATCH] flameshot: use service --- home/modules/flameshot.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/modules/flameshot.nix b/home/modules/flameshot.nix index b59ad6f..f479ea9 100644 --- a/home/modules/flameshot.nix +++ b/home/modules/flameshot.nix @@ -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; + }; }; }