From 458d03208dc1a2ae0da6b711380bdc0c8eb978d6 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Thu, 25 Jul 2024 19:52:10 -0700 Subject: c-pc: move keys to encrypted persist --- hosts/c-pc/hardware.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'hosts/c-pc/hardware.nix') diff --git a/hosts/c-pc/hardware.nix b/hosts/c-pc/hardware.nix index 660ac7a..3b4a417 100644 --- a/hosts/c-pc/hardware.nix +++ b/hosts/c-pc/hardware.nix @@ -40,16 +40,17 @@ }; fileSystems = { - "/" = { fsType = "zfs"; device = "zpool/root"; }; - "/nix" = { fsType = "zfs"; device = "zpool/nix"; }; - "/home" = { fsType = "zfs"; device = "zpool/home"; }; - "/persist" = { fsType = "zfs"; device = "zpool/persist"; neededForBoot = true; }; - "/secrets" = { fsType = "zfs"; device = "zpool/secure/secrets"; neededForBoot = true; }; + "/" = { fsType = "zfs"; device = "zpool/root"; }; + "/nix" = { fsType = "zfs"; device = "zpool/nix"; }; + "/home" = { fsType = "zfs"; device = "zpool/home"; }; + "/persist" = { fsType = "zfs"; device = "zpool/persist"; neededForBoot = true; }; + "/persist/secure" = { fsType = "zfs"; device = "zpool/secure/persist"; neededForBoot = true; }; + "/secrets" = { fsType = "zfs"; device = "zpool/secure/secrets"; neededForBoot = true; }; - "/boot" = { fsType = "vfat"; device = "/dev/disk/by-uuid/12CE-A600"; }; + "/boot" = { fsType = "vfat"; device = "/dev/disk/by-uuid/12CE-A600"; }; - "/mnt/4tb" = { fsType = "ext4"; device = "/dev/disk/by-label/4tb"; }; - "/mnt/ssd" = { fsType = "ext4"; device = "/dev/disk/by-label/ssd-256"; }; + "/mnt/4tb" = { fsType = "ext4"; device = "/dev/disk/by-label/4tb"; }; + "/mnt/ssd" = { fsType = "ext4"; device = "/dev/disk/by-label/ssd-256"; }; }; swapDevices = [ ]; -- cgit v1.2.3