diff --git a/modules/host.nix b/modules/host.nix index 8ece7d7..65a8815 100644 --- a/modules/host.nix +++ b/modules/host.nix @@ -6,7 +6,8 @@ ./host/sound.nix ./host/vpn.nix ./host/postgresql.nix - ./host/zapret-config.nix + #./host/zapret-config.nix + ./host/network.nix ]; programs.hyprland.enable = true; diff --git a/modules/host/network.nix b/modules/host/network.nix new file mode 100644 index 0000000..0766c8b --- /dev/null +++ b/modules/host/network.nix @@ -0,0 +1,15 @@ +{ + networking = { + enableIPv6 = true; + useDHCP = false; + nameservers = [ "64.188.64.176" "1.1.1.1" ]; + + dhcpcd.extraConfig = "nohook resolv.conf"; + + networkmanager = { + enable = true; + dns = "none"; + insertNameservers = [ "64.188.64.176" "1.1.1.1" ]; + }; + }; +}