Compare commits

...

2 Commits

Author SHA1 Message Date
fd4fa0add6 wildfire: 331 current 2025-06-24 19:26:24 25.05.20250620.b2485d5 6.15.3 *
initial VPN config
2025-06-24 19:28:16 +02:00
6f4c1543e1 wildfire background 2025-06-24 19:20:47 +02:00
5 changed files with 41 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 = [

View File

@@ -9,6 +9,7 @@
wallpaper = [
", $HOME/git/nix-config/modules/hm/images/nix.png"
"DP-3, $HOME/git/nix-config/modules/hm/images/sunset-rocks.png"
"HDMI-A-1, $HOME/git/nix-config/modules/hm/images/sunset-rocks.png"
];
};
};

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;
}
];
};
};
}