diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-02-27 07:57:56 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-02-27 07:57:56 -0600 |
| commit | c303524a359d2be84d825acebbf8d7e2ddd8f24a (patch) | |
| tree | af7a7537703b7989dff65478a26f5637c0d1abbd /modules/system/nixos/networking/default.nix | |
| parent | 1932c82d72fb74971b180f84e06bcd1724e6271b (diff) | |
refactor network config, add wireguard connection to vps
Diffstat (limited to 'modules/system/nixos/networking/default.nix')
| -rw-r--r-- | modules/system/nixos/networking/default.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/modules/system/nixos/networking/default.nix b/modules/system/nixos/networking/default.nix index f063036..04cd1c3 100644 --- a/modules/system/nixos/networking/default.nix +++ b/modules/system/nixos/networking/default.nix @@ -1,14 +1,22 @@ { imports = [ - ./iwd.nix - ./networkmanager.nix - ./networkd.nix ./resolved.nix + + ./networkd.nix + ./iwd.nix + ./wpasupplicant.nix ]; - networking.firewall = { - enable = true; - checkReversePath = "loose"; + networking = { + firewall = { + enable = true; + checkReversePath = "loose"; + }; + + # Disable default networking stuff + dhcpcd.enable = false; + useDHCP = false; + networkmanager.enable = false; }; # disable all ipv6 |
