use wireguard DNS
This commit is contained in:
parent
a6f6bdde02
commit
ef8232c543
1 changed files with 5 additions and 0 deletions
|
|
@ -65,6 +65,11 @@ in
|
|||
wireguard-tools
|
||||
];
|
||||
|
||||
environment.etc."resolv.conf".text = ''
|
||||
nameserver 10.100.0.1
|
||||
nameserver 1.1.1.1
|
||||
'';
|
||||
|
||||
networking.wireguard = {
|
||||
enable = true;
|
||||
interfaces = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue