feat(edaas): set hostName to emmathorpe-edaas
CI / flake (pull_request) Successful in 3m44s

The host inherited the stock NixOS default hostname 'nixos', which does not
match the flake's nixosConfigurations attribute 'emmathorpe-edaas'. nh
selects the configuration by the local hostname, so bare 'nh os switch'
failed to resolve. Pin the hostname to the attribute name so it resolves
without an explicit -H/--hostname flag.
This commit is contained in:
Emma Thorpe
2026-06-16 11:30:22 +01:00
parent 886ac4eb36
commit 2b69485107
+5
View File
@@ -43,6 +43,11 @@
autoPrune.enable = true; autoPrune.enable = true;
}; };
# Match the flake's nixosConfigurations attribute name so `nh os switch`
# (which selects by the local hostname) resolves without an explicit
# -H/--hostname flag. The default would otherwise be the stock NixOS "nixos".
networking.hostName = "emmathorpe-edaas";
networking.resolvconf.enable = false; networking.resolvconf.enable = false;
# Drop the systemd-ssh-proxy Include from the generated /etc/ssh/ssh_config. # Drop the systemd-ssh-proxy Include from the generated /etc/ssh/ssh_config.