{ pkgs, lib, spacebar-server, rootDomain, ... }: { privateNetwork = true; autoStart = true; specialArgs = { inherit spacebar-server; inherit rootDomain; }; config = { lib, pkgs, spacebar-server, rootDomain, ... }: { imports = [ ./root.nix ]; environment.etc."resolv.conf".text = '' nameserver 8.8.8.8 nameserver 8.4.4.8 nameserver 1.1.1.1 nameserver 1.0.0.1 ''; networking.firewall = { enable = true; allowedTCPPorts = [ 80 5432 ]; }; }; hostAddress = "192.168.101.1"; localAddress = "192.168.100.1"; }