summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-06-01 18:49:52 +0200
committerSilas Schöffel <sils@sils.li>2024-06-01 18:49:52 +0200
commit123bc19dfc72d428f59995e6da8923ba114cc898 (patch)
tree560389c2d2a9ea88a350ba76ea261b7d50193737 /modules
parenthm: delete eww (diff)
downloadnix-config-123bc19dfc72d428f59995e6da8923ba114cc898.tar.gz
nix-config-123bc19dfc72d428f59995e6da8923ba114cc898.zip
etesync-dav: init module
Diffstat (limited to 'modules')
-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 = {
+      #};
+    };
+  };
+}