diff --git a/nixos/disko-config.nix b/nixos/disko-config.nix index 255e7b8..055fa01 100644 --- a/nixos/disko-config.nix +++ b/nixos/disko-config.nix @@ -45,6 +45,10 @@ mountpoint = "/var/log"; mountOptions = ["subvol=log" "compress=zstd" "noatime"]; }; + "/persist" = { + mountpoint = "/persist"; + mountOptions = ["subvol=persist" "compress=zstd" "noatime"]; + }; "/swap" = { mountpoint = "/swap"; swap.swapfile.size = "64G"; @@ -58,4 +62,7 @@ }; }; }; + + fileSystems."/persist".neededForBoot = true; + fileSystems."/var/log".neededForBoot = true; }