diff --git a/docs/site/getting-started/installer.md b/docs/site/getting-started/installer.md index 2d4d0dc53..eb2276b5d 100644 --- a/docs/site/getting-started/installer.md +++ b/docs/site/getting-started/installer.md @@ -67,6 +67,13 @@ sudo umount /dev/sdb1 --ssh-pubkey ``` If you do not have an ssh key yet, you can generate one with `ssh-keygen -t ed25519` command. + This ssh key will be installed into the root user. + + - **Connect to the installer + + On boot, the installer will display on-screen the IP address it received from the network. + If you need to configure Wi-Fi first, refer to the next section. + If Multicast-DNS (Avahi) is enabled on your own machine, you can also access the installer using the `flash-installer.local` address. - **List Keymaps**: You can get a list of all keymaps with the following command: @@ -128,6 +135,12 @@ sudo umount /dev/sdb1 sudo dd bs=4M conv=fsync status=progress if=./nixos-installer-x86_64-linux.iso of=/dev/sd ``` + - **Connect to the installer + + On boot, the installer will display on-screen the IP address it received from the network. + If you need to configure Wi-Fi first, refer to the next section. + If Multicast-DNS (Avahi) is enabled on your own machine, you can also access the installer using the `nixos-installer.local` address. + ### Step 3: Boot From USB Stick - To use, boot from the Clan USB drive with **secure boot turned off**. For step by step instructions go to [Disabling Secure Boot](../manual/secure-boot.md) diff --git a/nixosModules/installer/default.nix b/nixosModules/installer/default.nix index 49620e460..3e2dbbaff 100644 --- a/nixosModules/installer/default.nix +++ b/nixosModules/installer/default.nix @@ -6,7 +6,7 @@ }: let - network-status = pkgs.writeShellScript "network-status" '' + network-status = pkgs.writeShellScriptBin "network-status" '' export PATH=${ lib.makeBinPath ( with pkgs; @@ -50,7 +50,10 @@ in ./zfs-latest.nix ]; - environment.systemPackages = [ pkgs.nixos-facter ]; + environment.systemPackages = [ + pkgs.nixos-facter + network-status + ]; ######################################################################################################## # #