Files
infra/1-nixos-node/0-install-nixos.md

14 lines
539 B
Markdown

Follow steps at https://nixos.org/manual/nixos/stable/#sec-installation-manual-summary
Note: run `lsblk` to determine correct device to install to.
Set the hostname when editing `/mnt/etc/nixos/configuration.nix` before the installation:
`networking.hostName = "jaglan-beta-mNN";`
Once `nixos-install` is complete and the root password is set and saved edit the `/etc/nixos/configuration.nix` again to enable ssh and run `nixos-rebuild switch`
```
services.openssh.enable = true;
services.openssh.settings.PermitRootLogin = "yes";
```