From ec4e302f44e1292a19f505bce871d94682ed4eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Schwarz=C3=A4ugl?= Date: Thu, 5 Mar 2026 23:10:16 +0100 Subject: [PATCH] feat: add khal --- SwarselSystems.org | 19 +++++++++++++++++++ modules/home/common/khal.nix | 14 ++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 modules/home/common/khal.nix diff --git a/SwarselSystems.org b/SwarselSystems.org index ba1d5a3..12a147a 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -26284,6 +26284,25 @@ This service changes the screen hue at night. I am not sure if that really does } #+end_src +**** Khal + +#+begin_src nix-ts :tangle modules/home/common/khal.nix + { lib, config, pkgs, ... }: + let + moduleName = "khal"; + in + { + options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings"; + config = lib.mkIf config.swarselmodules.${moduleName} { + programs.${moduleName} = { + enable = true; + package = pkgs.khal; + }; + }; + + } +#+end_src + *** Server :PROPERTIES: :CUSTOM_ID: h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb diff --git a/modules/home/common/khal.nix b/modules/home/common/khal.nix new file mode 100644 index 0000000..73ee4a0 --- /dev/null +++ b/modules/home/common/khal.nix @@ -0,0 +1,14 @@ +{ lib, config, pkgs, ... }: +let + moduleName = "khal"; +in +{ + options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings"; + config = lib.mkIf config.swarselmodules.${moduleName} { + programs.${moduleName} = { + enable = true; + package = pkgs.khal; + }; + }; + +}