disabled wireguard interface on horizon

This commit is contained in:
Leyla Becker 2025-02-22 22:46:31 -06:00
parent 9471b1f393
commit 9bfa5c9e8d

View file

@ -97,25 +97,35 @@
useDHCP = lib.mkDefault true; useDHCP = lib.mkDefault true;
hostName = "horizon"; # Define your hostname. hostName = "horizon"; # Define your hostname.
wg-quick.interfaces = { # wg-quick.interfaces = {
proton = { # proton = {
# IP address of this machine in the *tunnel network* # # IP address of this machine in the *tunnel network*
address = ["10.2.0.1/32"]; # address = ["10.2.0.1/32"];
listenPort = 51820; # listenPort = 51820;
privateKeyFile = config.sops.secrets."wireguard-keys/proton/horizon".path; # privateKeyFile = config.sops.secrets."wireguard-keys/proton/horizon".path;
peers = [ # peers = [
{ # {
publicKey = "Yu2fgynXUAASCkkrXWj76LRriFxKMTQq+zjTzyOKG1Q="; # publicKey = "Yu2fgynXUAASCkkrXWj76LRriFxKMTQq+zjTzyOKG1Q=";
allowedIPs = ["0.0.0.0/0"]; # allowedIPs = ["0.0.0.0/0"];
endpoint = "84.17.63.8:51820"; # endpoint = "84.17.63.8:51820";
persistentKeepalive = 25; # persistentKeepalive = 25;
} # }
]; # {
}; # publicKey = "OIPOmEDCJfuvTJ0dugMtY5L14gVpfpDdY3suniY5h3Y=";
}; # allowedIPs = ["0.0.0.0/0"];
# endpoint = "68.169.42.242:51820";
# persistentKeepalive = 25;
# }
# {
# publicKey = "uvEa3sdmi5d/OxozjecVIGQHgw4H42mNIX/QOulwDhs=";
# allowedIPs = ["0.0.0.0/0"];
# }
# ];
# };
# };
}; };
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";