summary refs log tree commit diff stats
path: root/modules/hm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hm')
-rw-r--r--modules/hm/sils/default.nix1
-rw-r--r--modules/hm/sils/etesync-dav.nix17
2 files changed, 18 insertions, 0 deletions
diff --git a/modules/hm/sils/default.nix b/modules/hm/sils/default.nix
index 3e296e2..fba63bc 100644
--- a/modules/hm/sils/default.nix
+++ b/modules/hm/sils/default.nix
@@ -2,6 +2,7 @@
   imports = [
     ./bat.nix
     ./direnv.nix
+    ./etesync-dav.nix
     ./firefox
     ./jameica.nix
     ./kdeconnect.nix
diff --git a/modules/hm/sils/etesync-dav.nix b/modules/hm/sils/etesync-dav.nix
new file mode 100644
index 0000000..f524928
--- /dev/null
+++ b/modules/hm/sils/etesync-dav.nix
@@ -0,0 +1,17 @@
+{
+  config,
+  lib,
+  ...
+}: let
+  cfg = config.sils.etesync-dav;
+in {
+  options.sils.etesync-dav.enable = lib.mkEnableOption "etesync-dav";
+  config = lib.mkIf cfg.enable {
+    services.etesync-dav = {
+      enable = true;
+      serverUrl = "https://etebase.vhack.eu";
+      #settings = {
+      #};
+    };
+  };
+}