Fix some networking issues and setup a second nomad host

This commit is contained in:
2025-05-25 22:40:41 +10:00
parent 376c278c11
commit 8b0b7c1e73
7 changed files with 81 additions and 27 deletions

View File

@@ -1,8 +1,13 @@
Follow steps at https://nixos.org/manual/nixos/stable/#sec-installation-manual-summary
Ensure that ssh is enabled and the hostname is set
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";
networking.hostName = "jaglan-beta-m01";
```
```