diff options
| author | Grisha Shipunov | 2025-01-12 13:45:55 +0100 |
|---|---|---|
| committer | Grisha Shipunov | 2025-01-12 14:02:32 +0100 |
| commit | 91078925890dfbbef82a644dfc9734a0efdc179b (patch) | |
| tree | 1f6c27124957544ffb06103d1382c8ff4ee0e4e5 /hosts/minime/networking/uplink.nix | |
| parent | 2c6f0762ea3faadea2c3a196c0d1717afa3c42da (diff) | |
some work
Diffstat (limited to 'hosts/minime/networking/uplink.nix')
| -rw-r--r-- | hosts/minime/networking/uplink.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/hosts/minime/networking/uplink.nix b/hosts/minime/networking/uplink.nix new file mode 100644 index 0000000..9631b2d --- /dev/null +++ b/hosts/minime/networking/uplink.nix @@ -0,0 +1,29 @@ +{ ... }: +{ + networking.hostName = "minime"; # Define your hostname. + networking.useNetworkd = true; + networking.firewall.enable = true; + + services.resolved = { + enable = true; + dnssec = "false"; + fallbackDns = [ + "9.9.9.9" + "2620:fe::fe" + "149.112.112.112" + "2620:fe::9" + ]; + }; + + systemd.network.enable = true; + + systemd.network.networks = { + "10-ether-uplink" = { + matchConfig.name = "enp90s0"; + networkConfig = { + DHCP = "yes"; + IPv6AcceptRA = true; + }; + }; + }; +} |
