diff options
Diffstat (limited to 'sys/mbp.nix')
-rw-r--r-- | sys/mbp.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/mbp.nix b/sys/mbp.nix index 0cb8a5160bbd..2570950b2c2d 100644 --- a/sys/mbp.nix +++ b/sys/mbp.nix @@ -18,7 +18,7 @@ boot.initrd.postDeviceCommands = '' mkdir /mnt mount /dev/mapper/root /mnt - for subvol in @ tmp; do + for subvol in var/tmp @ tmp; do btrfs subvolume delete "/mnt/$subvol" btrfs subvolume create "/mnt/$subvol" done @@ -51,6 +51,12 @@ options = [ "subvol=tmp" ]; }; + fileSystems."/var/tmp" = { + device = "/dev/disk/by-uuid/e5821c99-7507-421d-9280-de09a055d926"; + fsType = "btrfs"; + options = [ "subvol=var/tmp" ]; + }; + fileSystems."/home" = { device = "/dev/disk/by-uuid/e5821c99-7507-421d-9280-de09a055d926"; fsType = "btrfs"; |