extract network domain to remote role
4 files changed, 8 insertions(+), 5 deletions(-)
M system/hosts/linde.nix → system/hosts/linde.nix
@@ -26,6 +26,7 @@ imports = [ # Include the results of the hardware scan. ./linde-hardware.nix + ../roles/remote.nix ../roles/server.nix ../roles/reverse-proxy.nix ../roles/binary-cache.nix@@ -80,7 +81,6 @@ }; networking = { hostName = hostname; - inherit domain; dhcpcd.enable = false; nameservers = [ "2606:4700:4700::1111"
M system/hosts/smrk.nix → system/hosts/smrk.nix
@@ -8,6 +8,7 @@ domain = "alin.ovh"; in { imports = [ + ../roles/remote.nix ../roles/server.nix ../roles/auth-dns.nix@@ -26,10 +27,7 @@ cifs-utils knot-dns ]; - networking = { - hostName = hostname; - domain = domain; - }; + networking.hostName = hostname; nix = { settings = {