# Installing a fresh NixOS ```bash sudo -i systemctl start wpa_supplicant wpa_cli ``` And then: ``` > add_network 0 > set_network 0 ssid "forest" OK > set_network 0 psk "ki*****" OK > set_network 0 key_mgmt WPA-PSK OK > enable_network 0 OK quit ``` then set the required crypt and root pw and start the installer script: ``` nix-shell -E "import (builtins.fetchurl https://git.cluster.gay/hans/nixos-install/raw/branch/main/shell.nix)" export CRYPT_PW="pol...." #optionally set root disk if it is not /dev/nvme0n1 export ROOT_DISK=/dev/sd..... ```