NixOS: Difference between revisions
No edit summary |
|||
| Line 41: | Line 41: | ||
nixos-install | nixos-install | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Make sure to add the swap config: | |||
<pre> | |||
swapDevices = [ { | |||
device = "/swapfile"; | |||
size = 4096; # In MB | |||
} ]; | |||
</pre> | |||
=== Install on VPS === | |||
For a VPS, first install Ubuntu or Debian. | |||
Then run https://github.com/elitak/nixos-infect. | |||
== Resources== | == Resources== | ||
* https://nixos.org/manual/nixos/stable/ | * https://nixos.org/manual/nixos/stable/ | ||
* https://wiki.nixos.org/wiki/NixOS_Wiki | * https://wiki.nixos.org/wiki/NixOS_Wiki | ||