From 96c02ac2cb5982ea48a1a32bf5589232cf57297d Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 5 Nov 2025 12:14:28 -0600 Subject: [PATCH] test: impermanence --- systems/ceres/config/filesystem.nix | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/systems/ceres/config/filesystem.nix b/systems/ceres/config/filesystem.nix index cdd647e..727ebba 100755 --- a/systems/ceres/config/filesystem.nix +++ b/systems/ceres/config/filesystem.nix @@ -10,28 +10,37 @@ in { fileSystems = { "/" = { - device = "/dev/disk/by-uuid/00d712c2-5883-4409-afd8-514886f4e824"; + device = "/dev/disk/by-uuid/8596aaba-338f-1f9d-ba9d-a63bcbc38523"; fsType = "btrfs"; - options = [ "subvol=root" ]; + options = [ + "subvol=root" + ]; }; "/nix" = { - device = "/dev/disk/by-uuid/00d712c2-5883-4409-afd8-514886f4e824"; + device = "/dev/disk/by-uuid/8596aaba-338f-1f9d-ba9d-a63bcbc38523"; fsType = "btrfs"; - options = [ "subvol=nix" ]; + options = [ + "subvol=nix" + ]; }; "/persistent" = { - device = "/dev/disk/by-uuid/00d712c2-5883-4409-afd8-514886f4e824"; + device = "/dev/disk/by-uuid/8596aaba-338f-1f9d-ba9d-a63bcbc38523"; fsType = "btrfs"; neededForBoot = true; - options = [ "subvol=persistent" ]; + options = [ + "subvol=persistent" + ]; }; "/boot" = { - device = "/dev/disk/by-uuid/D018-1408"; + device = "/dev/disk/by-uuid/7328-07C6"; fsType = "vfat"; - options = [ "umask=0077" ]; + options = [ + "fmask=0077" + "dmask=0077" + ]; }; "/mnt/storage" = { @@ -39,7 +48,6 @@ in fsType = "ext4"; }; }; - boot.initrd.postResumeCommands = lib.mkAfter '' mkdir /btrfs_tmp mount -o subvolid=5 /dev/sdb2 /btrfs_tmp