diff --git a/home/jonas@monolith.nix b/home/jonas@monolith.nix index d63c8cb..c4b96b8 100644 --- a/home/jonas@monolith.nix +++ b/home/jonas@monolith.nix @@ -18,6 +18,7 @@ plasmaIntegration = true; passFF = true; }; + hive.flameshot.enable = true; hive.kdeconnect.enable = true; hive.nextcloud.enable = true; hive.nix-scripts.enable = true; diff --git a/modules/default.nix b/modules/default.nix index ae366c4..0f15114 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -39,6 +39,7 @@ ./home/wofi ./home/zsh ./home/firefox.nix + ./home/flameshot.nix ./home/kdeconnect.nix ./home/plasma.nix ./home/ssh.nix diff --git a/modules/home/flameshot.nix b/modules/home/flameshot.nix new file mode 100644 index 0000000..41b0ca6 --- /dev/null +++ b/modules/home/flameshot.nix @@ -0,0 +1,12 @@ +{ + config, + lib, + ... +}: let + cfg = config.hive.flameshot; +in { + options.hive.flameshot.enable = lib.mkEnableOption "Flameshot service."; + config = lib.mkIf cfg.enable { + services.flameshot.enable = true; + }; +}