From 55478dc5446a8fc821e4499c5a954ca8ad40a65c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Tue, 6 May 2025 01:07:53 +0200 Subject: [PATCH] Home Gen5 @ 2025-05-04-05:05 by jonas@monolith --- home/jonas@monolith.nix | 1 + modules/default.nix | 1 + modules/home/flameshot.nix | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 modules/home/flameshot.nix 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; + }; +}