diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-16 17:39:42 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-16 17:44:04 +0200 |
commit | 0e7512498f4e46c4b55994b4dd9548cd8d22a9db (patch) | |
tree | a53a90088a153caf81297df0ec4ec2068daf3003 | |
parent | Module: Virtualisation: Add docker-compose for podman (diff) | |
download | nixos-config-0e7512498f4e46c4b55994b4dd9548cd8d22a9db.tar.gz nixos-config-0e7512498f4e46c4b55994b4dd9548cd8d22a9db.tar.bz2 nixos-config-0e7512498f4e46c4b55994b4dd9548cd8d22a9db.zip |
Modules/Secrets: Wiregurad: Change peer settings
-rw-r--r-- | hosts/configuration.nix | 8 | ||||
-rw-r--r-- | secrets/wireguard/default.nix | bin | 537 -> 576 bytes |
2 files changed, 3 insertions, 5 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix index fba0f28..0b59af3 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -40,11 +40,9 @@ hostName = hostname; # Define your hostname. enableIPv6 = true; extraHosts = builtins.readFile "${dotfiles}/hosts"; - dhcpcd = { - enable = true; - extraConfig = "nohook resolv.conf"; - }; - resolvconf.enable = false; + dhcpcd.enable = true; + resolvconf.enable = true; + nameservers = [ "127.0.0.1" ]; firewall = { enable = true; allowedTCPPorts = [ 80 22 9090 ]; diff --git a/secrets/wireguard/default.nix b/secrets/wireguard/default.nix index 9a75caa..323c1d6 100644 --- a/secrets/wireguard/default.nix +++ b/secrets/wireguard/default.nix Binary files differ |