diff options
-rw-r--r-- | hosts/navi/default.nix | 4 | ||||
-rw-r--r-- | hosts/navi/hardware-configuration.nix | 1 | ||||
-rw-r--r-- | profiles/network.nix | 3 |
3 files changed, 4 insertions, 4 deletions
diff --git a/hosts/navi/default.nix b/hosts/navi/default.nix index 7350e71..9a926c9 100644 --- a/hosts/navi/default.nix +++ b/hosts/navi/default.nix @@ -53,8 +53,8 @@ # networkConfig.DHCP = "yes"; # }; - systemd.network.networks."10-eth0" = { - matchConfig.Name = "eth0"; + systemd.network.networks."10-wlp1s0" = { + matchConfig.Name = "wlp1s0"; networkConfig.DHCP = "yes"; }; diff --git a/hosts/navi/hardware-configuration.nix b/hosts/navi/hardware-configuration.nix index 64b8644..aa88984 100644 --- a/hosts/navi/hardware-configuration.nix +++ b/hosts/navi/hardware-configuration.nix @@ -62,6 +62,7 @@ in { }; }; }; + }; }; }; }; diff --git a/profiles/network.nix b/profiles/network.nix index 461106f..fc4af5c 100644 --- a/profiles/network.nix +++ b/profiles/network.nix @@ -7,6 +7,7 @@ }: { imports = []; config = { + systemd.network.enable = true; networking = { firewall = { enable = true; @@ -15,9 +16,7 @@ checkReversePath = "loose"; }; networkmanager.enable = true; - useDHCP = false; nameservers = ["127.0.0.1" "::1"]; - networkmanager.dns = "none"; extraHosts = '' 100.99.246.128 pc 100.105.242.70 phone |