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:
1. keyboard layout, ie <code>services.xserver.layout</code>
 
2. <code>users.users.user</code> with adding entry <code>initialPassword = "pw123";</code>
* keyboard layout, ie <code>services.xserver.layout</code>
3. networking (wifi), see below for fix if it breaks
* <code>users.users.user</code> with adding entry <code>initialPassword = "pw123";</code>
4. <code>boot.loader.grub.device = "/dev/sda"; #or "nodev" for efi only</code>
* networking (wifi), see below for fix if it breaks
5. install editor to edit the configuration
* <code>boot.loader.grub.device = "/dev/sda"; #or "nodev" for efi only</code>
6. change hardware config to use labels
* 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