about summary refs log tree commit diff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/mbp.nix8
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";