diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-11-05 14:37:21 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-11-05 14:38:18 +0100 |
commit | 49b6ee3ae83daec0daf0342eb567a4a5efaa422d (patch) | |
tree | 8b08c9dd713fcaa2436ecd8b12a72e64b6f4e21c /sys | |
parent | 233772aee08b103a6a08d803f9ee20be135b9976 (diff) | |
download | nixlib-49b6ee3ae83daec0daf0342eb567a4a5efaa422d.tar nixlib-49b6ee3ae83daec0daf0342eb567a4a5efaa422d.tar.gz nixlib-49b6ee3ae83daec0daf0342eb567a4a5efaa422d.tar.bz2 nixlib-49b6ee3ae83daec0daf0342eb567a4a5efaa422d.tar.lz nixlib-49b6ee3ae83daec0daf0342eb567a4a5efaa422d.tar.xz nixlib-49b6ee3ae83daec0daf0342eb567a4a5efaa422d.tar.zst nixlib-49b6ee3ae83daec0daf0342eb567a4a5efaa422d.zip |
sys/mbp.nix: add /var/tmp submodule
systemd must have started creating this as a submodule recently. It was preventing @ from being emptied on boot.
Diffstat (limited to 'sys')
-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"; |