From d081c06a1c6e04ba34553a9fd89afc304c0f6c7e Mon Sep 17 00:00:00 2001 From: Toast Date: Mon, 19 Feb 2024 21:27:22 +0100 Subject: [PATCH 1/2] Server/syncthing: remove redundant secrets configuration --- roles/server/syncthing.nix | 5 ----- 1 file changed, 5 deletions(-) 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; From 50bb1a9ba0821fae9a4e7713956e78270713d87f Mon Sep 17 00:00:00 2001 From: Toast Date: Mon, 19 Feb 2024 19:08:51 +0100 Subject: [PATCH 2/2] Machines/Archie: mount persist subvolume --- machines/Archie/hardware-configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) 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 = [ ];