about summary refs log tree commit diff
path: root/modules/common/networking.nix
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2024-12-02 01:13:53 +0300
committerazahi <azat@bahawi.net>2024-12-02 01:13:53 +0300
commit0df7936405dd7cfa1ed518441a154b03f1aa57bc (patch)
treede5a0042316f821475e829885c3120aaa6725926 /modules/common/networking.nix
parent2024-11-30 (diff)
2024-12-02 HEAD master
Diffstat (limited to 'modules/common/networking.nix')
-rw-r--r--modules/common/networking.nix11
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/common/networking.nix b/modules/common/networking.nix
index d7baa6c..468bd8b 100644
--- a/modules/common/networking.nix
+++ b/modules/common/networking.nix
@@ -97,17 +97,8 @@ in
         }
       )
       (lib.mkIf this.isHeadful {
-        interfaces.eth0.useDHCP = lib.mkDefault true;
-
         networkmanager = {
-          enable = lib.mkDefault true;
-          unmanaged = [
-            "type:amneziawg"
-            "type:bridge"
-            "type:ethernet"
-            "type:loopback"
-            "type:wireguard"
-          ];
+          enable = true;
           plugins = lib.mkForce [ ];
           wifi.backend = "iwd";
         };

Consider giving Nix/NixOS a try! <3