Max: Disable all storage temporarily.
This commit is contained in:
parent
2603b947d2
commit
7201257785
|
@ -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" ];
|
||||||
# }];
|
# }];
|
||||||
|
|
|
@ -1,18 +1,3 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
fileSystems = {
|
|
||||||
"/home" = {
|
|
||||||
device = "/dev/storage/home";
|
|
||||||
fsType = "ext4";
|
|
||||||
options = [ "noatime" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [
|
|
||||||
{
|
|
||||||
device = "/dev/storage/swap";
|
|
||||||
randomEncryption.enable = true;
|
|
||||||
options = [ "nofail" ];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue