Update VPN DNS servers

This commit is contained in:
coolneng 2020-08-29 16:37:41 +02:00
parent fad3f46d0a
commit 73a0aef2bd
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ avahi wireguard ];
# Set hostname, hostid and enable WiFi # Set hostname, hostid and enable WiFi
networking = { networking = {
hostName = "panacea"; hostName = "panacea";
@ -22,7 +20,7 @@
wg0 = { wg0 = {
address = [ "10.8.0.2/32" ]; address = [ "10.8.0.2/32" ];
privateKeyFile = "/home/coolneng/.wg/keys/privatekey"; 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 = [ peers = [
# zion # zion
{ {