aboutsummaryrefslogtreecommitdiff
path: root/hosts/tahoe/networking.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-12 14:07:07 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-12 14:07:07 -0700
commitdedafea9064419b7b2dcb190457450232a46cf0a (patch)
treebae38d282004a699269e5146ea8bea21094af34d /hosts/tahoe/networking.nix
parenthosts/aptos: move network configuration to default.nix (diff)
downloadinfra-dedafea9064419b7b2dcb190457450232a46cf0a.tar.gz
hosts/tahoe: move network configuration to default.nix
Diffstat (limited to '')
-rw-r--r--hosts/tahoe/networking.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/hosts/tahoe/networking.nix b/hosts/tahoe/networking.nix
deleted file mode 100644
index 8ea6667..0000000
--- a/hosts/tahoe/networking.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ lib, ... }:
-
-{
- # Use systemd-networkd for networking
- systemd.network = {
- enable = true;
- networks = {
- enp42s0 = {
- matchConfig.Name = "enp42s0";
- networkConfig = { DHCP = "yes"; };
- extraConfig = ''
- [DHCPv4]
- UseDNS=yes
- UseDomains=yes
- '';
- };
- };
- };
-
- networking = {
- hostName = "tahoe";
- useNetworkd = true;
- useDHCP = false;
- private-wireguard.enable = true;
- firewall.enable = false;
- };
-
- services.nscd.enable = false;
- system.nssModules = lib.mkForce [ ];
-}