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