hardcoded swap for sandbox
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
{ config, inputs, ... }: {
|
{ config, inputs, ... }: {
|
||||||
imports = [ ./hardware.nix ../../modules/server ];
|
imports = [ ./hardware.nix ../../modules/server ];
|
||||||
|
|
||||||
|
swapDevices = [ {
|
||||||
|
device = "/swapfile";
|
||||||
|
size = 4 * 1024; # Size in megabytes (4 GB)
|
||||||
|
} ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user