Update VPN DNS servers
This commit is contained in:
parent
fad3f46d0a
commit
73a0aef2bd
|
@ -1,8 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ avahi wireguard ];
|
||||
|
||||
# Set hostname, hostid and enable WiFi
|
||||
networking = {
|
||||
hostName = "panacea";
|
||||
|
@ -22,7 +20,7 @@
|
|||
wg0 = {
|
||||
address = [ "10.8.0.2/32" ];
|
||||
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
||||
dns = [ "78.47.243.3" "151.80.222.79" ];
|
||||
dns = [ "94.247.43.254" "78.47.243.3" ];
|
||||
peers = [
|
||||
# zion
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue