diff --git a/machines/Archie/hardware-configuration.nix b/machines/Archie/hardware-configuration.nix index f123be5..2e04763 100644 --- a/machines/Archie/hardware-configuration.nix +++ b/machines/Archie/hardware-configuration.nix @@ -61,6 +61,11 @@ 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 48742ac..1d2b61f 100755 --- a/roles/server/syncthing.nix +++ b/roles/server/syncthing.nix @@ -1,11 +1,6 @@ { config, ... }: { - age.secrets = { - syncthingKey.file = ../../secrets/syncthing/key; - syncthingCert.file = ../../secrets/syncthing/cert; - }; - services.syncthing = { enable = true; key = config.age.secrets.syncthingKey.path;