nixos/installer: Fix swap device override
This commit is contained in:
parent
e5d92d45b7
commit
6ad032ed93
@ -58,6 +58,8 @@ let
|
||||
|
||||
${optionalString (!readOnly) "nix.readOnlyStore = false;"}
|
||||
|
||||
swapDevices = mkOverride 0 [ ];
|
||||
|
||||
environment.systemPackages = [ ${optionalString testChannel "pkgs.rlwrap"} ];
|
||||
}
|
||||
'';
|
||||
@ -79,8 +81,6 @@ let
|
||||
virtualisation.pathsInNixDB = channelContents ++ [ pkgs.hello.src ];
|
||||
virtualisation.memorySize = 768;
|
||||
|
||||
swapDevices = mkOverride 0 [ ];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user