From 89c5878f9fdd36853f20072b30142dce87f5b39e Mon Sep 17 00:00:00 2001 From: Kabbone Date: Fri, 29 Dec 2023 09:45:00 +0100 Subject: [PATCH] hosts: jupiter: move nas to zeus --- hosts/jupiter/hardware-configuration.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hosts/jupiter/hardware-configuration.nix b/hosts/jupiter/hardware-configuration.nix index c2003b2..c171548 100644 --- a/hosts/jupiter/hardware-configuration.nix +++ b/hosts/jupiter/hardware-configuration.nix @@ -25,7 +25,11 @@ }; boot.initrd.luks.devices = { NAS-RAID1 = { - device = "/dev/disk/by-uuid/57e6446d-faca-4b67-9063-e8d9afb80088"; + device = "/dev/disk/by-uuid/78c74410-c840-49b0-8a29-456d60c38217"; + keyFile = "/root/NASKeyfile"; + }; + NAS-RAID1_2 = { + device = "/dev/disk/by-uuid/dda6e698-4f0a-4d71-a06c-656b87374ed7"; keyFile = "/root/NASKeyfile"; }; }; @@ -152,13 +156,13 @@ fileSystems."/mnt/snapshots/Pluto" = { device = "/dev/disk/by-label/NAS-RAID"; fsType = "btrfs"; - options = [ "compress=zstd,space_cache=v2,noatime,subvolid=5" ]; + options = [ "compress=zstd:8,noatime,subvolid=5" ]; }; fileSystems."/mnt/Pluto" = { device = "/dev/disk/by-label/NAS-RAID"; fsType = "btrfs"; - options = [ "compress=zstd,space_cache=v2,noatime,subvol=@" ]; + options = [ "compress=zstd:8,noatime,subvol=@" ]; }; fileSystems."/mnt/Mars" =