diff --git a/machines/Archie/hardware-configuration.nix b/machines/Archie/hardware-configuration.nix index 2e04763..f123be5 100644 --- a/machines/Archie/hardware-configuration.nix +++ b/machines/Archie/hardware-configuration.nix @@ -61,11 +61,6 @@ fsType = "btrfs"; options = [ "subvol=@home" "compress=zstd" ]; }; - "/persist" = { - device = "/dev/disk/by-uuid/5322c217-b87b-4150-8b4c-a8fa17a899bf"; - fsType = "btrfs"; - options = [ "subvol=@persist" "compress=zstd" ]; - }; }; swapDevices = [ ]; diff --git a/roles/server/syncthing.nix b/roles/server/syncthing.nix index 1d2b61f..48742ac 100755 --- a/roles/server/syncthing.nix +++ b/roles/server/syncthing.nix @@ -1,6 +1,11 @@ { config, ... }: { + age.secrets = { + syncthingKey.file = ../../secrets/syncthing/key; + syncthingCert.file = ../../secrets/syncthing/cert; + }; + services.syncthing = { enable = true; key = config.age.secrets.syncthingKey.path;