From 22609fe7833b75b67e6918acbaaf0adb7026a037 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 9 Feb 2025 18:48:29 -0600 Subject: [PATCH] services: add disabled clipmenu Signed-off-by: Myned --- options/custom/services/clipmenu.nix | 21 +++++++++++++++++++++ options/custom/services/default.nix | 1 + 2 files changed, 22 insertions(+) create mode 100644 options/custom/services/clipmenu.nix diff --git a/options/custom/services/clipmenu.nix b/options/custom/services/clipmenu.nix new file mode 100644 index 0000000..6967636 --- /dev/null +++ b/options/custom/services/clipmenu.nix @@ -0,0 +1,21 @@ +{ + config, + lib, + ... +}: +with lib; let + cfg = config.custom.services.clipmenu; +in { + options.custom.services.clipmenu = { + enable = mkOption {default = false;}; + }; + + config = mkIf cfg.enable { + home-manager.sharedModules = [ + { + # https://github.com/cdown/clipmenu + services.clipmenu.enable = true; + } + ]; + }; +} diff --git a/options/custom/services/default.nix b/options/custom/services/default.nix index 16e90e9..fbda214 100644 --- a/options/custom/services/default.nix +++ b/options/custom/services/default.nix @@ -34,6 +34,7 @@ with lib; { #// blueman-applet.enable = true; #// clipcat.enable = true; #// cliphist.enable = true; + #// clipmenu.enable = true; easyeffects.enable = true; gammastep.enable = true; gnome-keyring.enable = true;