Update VPN DNS servers
This commit is contained in:
parent
fad3f46d0a
commit
73a0aef2bd
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue