Revert "uwupn -> wg-quick"

This reverts commit 90476f057d.
This commit is contained in:
Tim Schubert 2023-04-26 12:09:18 +02:00
parent 320a8864b7
commit 2fdf3fd5e8
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 4 additions and 5 deletions

View file

@ -68,7 +68,7 @@ in
networking = { networking = {
enableBsShare = true; enableBsShare = true;
localResolver = { localResolver = {
enable = false; enable = true;
uwu = true; uwu = true;
s0 = true; s0 = true;
}; };
@ -142,10 +142,9 @@ in
"127.0.0.2" = [ "kanboard.dadada.li" ]; "127.0.0.2" = [ "kanboard.dadada.li" ];
}; };
networking.wg-quick.interfaces.uwupn = { networking.wireguard.interfaces.uwupn = {
address = [ "10.11.0.24/32" "fc00:1337:dead:beef::10.11.0.24/128" ]; ips = [ "10.11.0.24/32" "fc00:1337:dead:beef::10.11.0.24/128" ];
privateKeyFile = "/var/lib/wireguard/uwu"; privateKeyFile = "/var/lib/wireguard/uwu";
dns = [ "10.11.0.1" ];
peers = [ peers = [
{ {
publicKey = "tuoiOWqgHz/lrgTcLjX+xIhvxh9jDH6gmDw2ZMvX5T8="; publicKey = "tuoiOWqgHz/lrgTcLjX+xIhvxh9jDH6gmDw2ZMvX5T8=";

View file

@ -30,7 +30,7 @@ in
}; };
config = { config = {
#networking.resolvconf.useLocalResolver = mkIf cfg.localResolver.enable true; networking.resolvconf.useLocalResolver = mkIf cfg.localResolver.enable true;
networking.networkmanager.dns = mkIf cfg.localResolver.enable "unbound"; networking.networkmanager.dns = mkIf cfg.localResolver.enable "unbound";
services.unbound = mkIf cfg.localResolver.enable { services.unbound = mkIf cfg.localResolver.enable {