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; + }; + }; + +}