Some changes were required to set 3 VMs as the cluster since the NUC failed and we are waiting for new hardware to arrive. The ingest routing from the internet was changed to use cloudflared tunnel to traefik instead of via a specific host.
20 lines
701 B
Markdown
20 lines
701 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 `(/mnt)/etc/nixos/configuration.nix` again to enable ssh and run `nixos-rebuild switch`
|
|
|
|
```
|
|
services.openssh.enable = true;
|
|
services.openssh.settings.PermitRootLogin = "yes";
|
|
```
|
|
|
|
Upgrade the OS
|
|
`nix-channel --list`
|
|
`nix-channel --add https://channels.nixos.org/nixos-25.05 nixos`
|
|
`nix-channel --list`
|
|
`nixos-rebuild switch --upgrade`
|