set hostName and domain in nixos config directly

This commit is contained in:
Pim Kunis 2024-01-28 12:55:58 +01:00
parent 371b851ca5
commit bd5dc4b883
5 changed files with 55 additions and 45 deletions

View file

@ -89,8 +89,6 @@ in {
config = {
networking = {
hostName = machine.hostName;
domain = machine.domain;
nftables.enable = true;
useDHCP = machine.type == "virtual";