Move settings to private flake

This commit is contained in:
Gene Liverman 2026-03-09 22:10:52 -04:00
parent 23ada378c6
commit 9a056ac94d
No known key found for this signature in database

View file

@ -1,4 +1,4 @@
{ pkgs, username, ... }: { { config, pkgs, username, ... }: {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./disk-config.nix ./disk-config.nix
@ -88,21 +88,9 @@
enable = true; enable = true;
networks."10-wan" = { networks."10-wan" = {
matchConfig.Name = "enp1s0"; matchConfig.Name = "enp1s0";
address = [ address = config.private-flake.hetznix01.networkAddresses;
"5.161.244.95/32" dns = config.private-flake.hetznix01.dnsServers;
"2a01:4ff:f0:977c::1/64" routes = config.private-flake.hetznix01.networkRoutes;
];
dns = [
"185.12.64.1"
"185.12.64.2"
"2a01:4ff:ff00::add:1"
"2a01:4ff:ff00::add:2"
];
routes = [
{ Destination = "172.31.1.1"; }
{ Gateway = "172.31.1.1"; GatewayOnLink = true; }
{ Gateway = "fe80::1"; }
];
# make the routes on this interface a dependency for network-online.target # make the routes on this interface a dependency for network-online.target
linkConfig.RequiredForOnline = "routable"; linkConfig.RequiredForOnline = "routable";
}; };