NixOS Installation Guide: Difference between revisions
imported>Sympel m fix typo |
imported>Rtpg m Fix up formatting of list |
||
| Line 153: | Line 153: | ||
* sudo vim configuration.nix | * sudo vim configuration.nix | ||
Most essential changes: | Most essential changes: | ||
* keyboard layout, ie <code>services.xserver.layout</code> | |||
* <code>users.users.user</code> with adding entry <code>initialPassword = "pw123";</code> | |||
* networking (wifi), see below for fix if it breaks | |||
* <code>boot.loader.grub.device = "/dev/sda"; #or "nodev" for efi only</code> | |||
* install editor to edit the configuration | |||
* change hardware config to use labels | |||
== NixOS installation == | == NixOS installation == | ||
| Line 167: | Line 168: | ||
if internet broke/breaks, try one of the following: | if internet broke/breaks, try one of the following: | ||
* nixos-rebuild switch --option substitute false # no downloads | * nixos-rebuild switch --option substitute false # no downloads | ||
* nixos-rebuild switch --option binary-caches "" # no downloads | * nixos-rebuild switch --option binary-caches "" # no downloads | ||