Added config for uwupn
This commit is contained in:
parent
e659af4ae8
commit
62e288ea68
3 changed files with 35 additions and 6 deletions
|
@ -38,7 +38,10 @@ in
|
|||
luks.uuid = "3d0e5b93-90ca-412a-b4e0-3e6bfa47d3f4";
|
||||
networking = {
|
||||
enableBsShare = true;
|
||||
useLocalResolver = true;
|
||||
localResolver = {
|
||||
enable= true;
|
||||
uwu= true;
|
||||
};
|
||||
vpnExtension = "3";
|
||||
};
|
||||
backupClient = {
|
||||
|
@ -116,6 +119,19 @@ in
|
|||
"10.1.2.9" = [ "fgprinter.fginfo.tu-bs.de" ];
|
||||
};
|
||||
|
||||
networking.wireguard.interfaces.uwupn = {
|
||||
ips = [ "10.11.0.24/32" "fc00:1337:dead:beef::10.11.0.24/128" ];
|
||||
privateKeyFile = "/var/lib/wireguard/uwu";
|
||||
peers = [
|
||||
{
|
||||
publicKey = "tuoiOWqgHz/lrgTcLjX+xIhvxh9jDH6gmDw2ZMvX5T8=";
|
||||
allowedIPs = [ "10.11.0.0/22" "fc00:1337:dead:beef::10.11.0.0/118" ];
|
||||
endpoint = "53c70r.de:51820";
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue