diff options
| author | Franck Cuny <franck@fcuny.net> | 2023-05-12 14:07:07 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2023-05-12 14:07:07 -0700 |
| commit | dedafea9064419b7b2dcb190457450232a46cf0a (patch) | |
| tree | bae38d282004a699269e5146ea8bea21094af34d /hosts/tahoe/networking.nix | |
| parent | hosts/aptos: move network configuration to default.nix (diff) | |
| download | infra-dedafea9064419b7b2dcb190457450232a46cf0a.tar.gz | |
hosts/tahoe: move network configuration to default.nix
Diffstat (limited to '')
| -rw-r--r-- | hosts/tahoe/networking.nix | 30 |
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 [ ]; -} |
