diff --git a/modules/datasync.nix b/modules/datasync.nix index 77bb79e..38fc994 100644 --- a/modules/datasync.nix +++ b/modules/datasync.nix @@ -76,15 +76,15 @@ config = '' [server] hosts = 127.0.0.1:5232 - max_connections = 20 - max_content_length = 100000000 - timeout = 30 [auth] type = htpasswd - htpasswd_filename = /var/lib/radicale/users - htpasswd_encryption = plain + htpasswd_filename = /vault/radicale/users + htpasswd_encryption = md5 delay = 1 + + [storage] + filesystem_folder = /vault/radicale/collections ''; }; diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index 2495198..51d46c5 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -4,59 +4,62 @@ { config, lib, pkgs, ... }: { - imports = - [ - ]; + imports = [ ]; boot.initrd.availableKernelModules = [ "usb_storage" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; + fsType = "ext4"; + }; - fileSystems."/vault" = - { device = "vault"; - fsType = "zfs"; - }; + fileSystems."/vault" = { + device = "vault"; + fsType = "zfs"; + }; - fileSystems."/vault/backups" = - { device = "vault/backups"; - fsType = "zfs"; - }; + fileSystems."/vault/backups" = { + device = "vault/backups"; + fsType = "zfs"; + }; - fileSystems."/vault/git" = - { device = "vault/git"; - fsType = "zfs"; - }; + fileSystems."/vault/git" = { + device = "vault/git"; + fsType = "zfs"; + }; - fileSystems."/vault/syncthing" = - { device = "vault/syncthing"; - fsType = "zfs"; - }; + fileSystems."/vault/syncthing" = { + device = "vault/syncthing"; + fsType = "zfs"; + }; - fileSystems."/vault/nextcloud" = - { device = "vault/nextcloud"; - fsType = "zfs"; - }; + fileSystems."/vault/nextcloud" = { + device = "vault/nextcloud"; + fsType = "zfs"; + }; - fileSystems."/vault/backups/zion" = - { device = "vault/backups/zion"; - fsType = "zfs"; - }; + fileSystems."/vault/backups/zion" = { + device = "vault/backups/zion"; + fsType = "zfs"; + }; - fileSystems."/vault/backups/monolith" = - { device = "vault/backups/monolith"; - fsType = "zfs"; - }; + fileSystems."/vault/backups/monolith" = { + device = "vault/backups/monolith"; + fsType = "zfs"; + }; - fileSystems."/vault/backups/zion/databases" = - { device = "vault/backups/zion/databases"; - fsType = "zfs"; - }; + fileSystems."/vault/backups/zion/databases" = { + device = "vault/backups/zion/databases"; + fsType = "zfs"; + }; + + fileSystems."/vault/radicale" = { + device = "vault/radicale"; + fsType = "zfs"; + }; swapDevices = [ ];