wildfire: 331 current 2025-06-24 19:26:24 25.05.20250620.b2485d5 6.15.3 *

initial VPN config
This commit is contained in:
2025-06-24 19:27:58 +02:00
parent 6f4c1543e1
commit fd4fa0add6
4 changed files with 40 additions and 0 deletions

View File

@ -4,6 +4,7 @@
../../modules/common.nix
../../modules/desktops/hyprland-desktop.nix
../../modules/programs.nix
./vpn.nix
];
# Extend home-manager configuration with host-specific monitor settings
home-manager.users.schulze.imports = [

19
hosts/hurricane/vpn.nix Normal file
View File

@ -0,0 +1,19 @@
{
networking.wg-quick.interfaces = {
wg-hurricane = {
address = ["10.8.0.4/24"];
dns = ["192.168.0.128"];
privateKeyFile = "/home/schulze/Nextcloud/secrets/wireguard/Felix-Hurricane-pk";
peers = [
{
publicKey = "a35ZSWhBNzPFkf1RCkg4E7cNnUdGGOr4CsA0EM65H0g=";
presharedKeyFile = "/home/schulze/Nextcloud/secrets/wireguard/Felix-Hurricane-psk";
allowedIPs = ["0.0.0.0/0"];
endpoint = "vpn.schulze.network:51820";
persistentKeepalive = 25;
}
];
};
};
}

View File

@ -4,6 +4,7 @@
../../modules/common.nix
../../modules/desktops/hyprland-desktop.nix
../../modules/programs.nix
./vpn.nix
];
# Extend home-manager configuration with host-specific monitor settings
home-manager.users.schulze.imports = [

19
hosts/wildfire/vpn.nix Normal file
View File

@ -0,0 +1,19 @@
{
networking.wg-quick.interfaces = {
wg-wildfire = {
address = ["10.8.0.5/24"];
dns = ["192.168.0.128"];
privateKeyFile = "/home/schulze/Nextcloud/secrets/wireguard/Felix-Wildfire-pk";
peers = [
{
publicKey = "a35ZSWhBNzPFkf1RCkg4E7cNnUdGGOr4CsA0EM65H0g=";
presharedKeyFile = "/home/schulze/Nextcloud/secrets/wireguard/Felix-Wildfire-psk";
allowedIPs = ["0.0.0.0/0"];
endpoint = "vpn.schulze.network:51820";
persistentKeepalive = 25;
}
];
};
};
}