Max: Disable all storage temporarily.

This commit is contained in:
Dmitry Voronin 2024-12-25 06:50:24 +03:00
parent 2603b947d2
commit 7201257785
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 1 additions and 15 deletions

View file

@ -31,6 +31,7 @@
# swapDevices = [{ # swapDevices = [{
# device = "/storage/hot/.swapfile"; # device = "/storage/hot/.swapfile";
# randomEncryption.enable = true;
# size = 128 * 1024; # size = 128 * 1024;
# options = [ "nofail" ]; # options = [ "nofail" ];
# }]; # }];

View file

@ -1,18 +1,3 @@
{ ... }: { ... }:
{ {
fileSystems = {
"/home" = {
device = "/dev/storage/home";
fsType = "ext4";
options = [ "noatime" ];
};
};
swapDevices = [
{
device = "/dev/storage/swap";
randomEncryption.enable = true;
options = [ "nofail" ];
}
];
} }