all repos — nixfiles @ 974f77b5ffcd279c2bb8dfd0373be7cede65e830

System and user configuration, managed by nix and home-manager

extract network domain to remote role

Alin
commit

974f77b5ffcd279c2bb8dfd0373be7cede65e830

parent

68deeeb0a1372cd72f3e310995a18a4d62451cf5

4 files changed, 8 insertions(+), 5 deletions(-)

changed files
M flake.nix → flake.nix
@@ -166,6 +166,7 @@ srvos.nixosModules.server
vpsadminos.nixosConfigurations.containerUnstable agenix.nixosModules.default ./packages/modules/nixos/laminar.nix + ./system/roles/remote.nix ./system/roles/server.nix ./system/roles/ci-runner.nix (
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 = {
A system/roles/remote.nix
@@ -0,0 +1,4 @@
+{ ... }: +{ + networking.domain = "alin.ovh"; +}