summary refs log tree commit diff
path: root/profiles/network.nix
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-08-04 01:12:42 +0300
committertzlil <tzlils@protonmail.com>2023-08-04 01:12:42 +0300
commit53287e3bdf3a9fcd2782af0069a2bdd55fa3f7c3 (patch)
treea7fb7bf5cc1bf4d8e057185323503afc6757f219 /profiles/network.nix
parent4ec3708822c82516898e636c7994abf8326ac85a (diff)
fix networking
Diffstat (limited to 'profiles/network.nix')
-rw-r--r--profiles/network.nix3
1 files changed, 1 insertions, 2 deletions
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