reduce swap file and add other drive to h001
This commit is contained in:
parent
43e095513b
commit
3478c743ce
1 changed files with 6 additions and 1 deletions
|
@ -36,10 +36,15 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/drives/wd10" = {
|
||||||
|
device = "/dev/sda";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
{
|
{
|
||||||
device = "/.swapfile";
|
device = "/.swapfile";
|
||||||
size = 64 * 1024; # 64GB
|
size = 4 * 1024; # 4GB
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue