feat: add khal

This commit is contained in:
Leon Schwarzäugl 2026-03-05 23:10:16 +01:00
parent 2ea5b9c764
commit ec4e302f44
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 33 additions and 0 deletions

View file

@ -26284,6 +26284,25 @@ This service changes the screen hue at night. I am not sure if that really does
} }
#+end_src #+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 *** Server
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb :CUSTOM_ID: h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb

View file

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