refactor: move swap config into hardware configuration
This commit is contained in:
parent
e9df038958
commit
b1aa0d9771
2 changed files with 4 additions and 7 deletions
hardware
|
@ -43,7 +43,10 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [{
|
||||
device = "/.swap/swapfile";
|
||||
size = 8192;
|
||||
}];
|
||||
|
||||
hardware.cpu.amd.updateMicrocode =
|
||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue