Compare commits
2 Commits
fe586d4a56
...
fd4fa0add6
Author | SHA1 | Date | |
---|---|---|---|
fd4fa0add6 | |||
6f4c1543e1 |
@@ -4,6 +4,7 @@
|
|||||||
../../modules/common.nix
|
../../modules/common.nix
|
||||||
../../modules/desktops/hyprland-desktop.nix
|
../../modules/desktops/hyprland-desktop.nix
|
||||||
../../modules/programs.nix
|
../../modules/programs.nix
|
||||||
|
./vpn.nix
|
||||||
];
|
];
|
||||||
# Extend home-manager configuration with host-specific monitor settings
|
# Extend home-manager configuration with host-specific monitor settings
|
||||||
home-manager.users.schulze.imports = [
|
home-manager.users.schulze.imports = [
|
||||||
|
19
hosts/hurricane/vpn.nix
Normal file
19
hosts/hurricane/vpn.nix
Normal 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;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@@ -4,6 +4,7 @@
|
|||||||
../../modules/common.nix
|
../../modules/common.nix
|
||||||
../../modules/desktops/hyprland-desktop.nix
|
../../modules/desktops/hyprland-desktop.nix
|
||||||
../../modules/programs.nix
|
../../modules/programs.nix
|
||||||
|
./vpn.nix
|
||||||
];
|
];
|
||||||
# Extend home-manager configuration with host-specific monitor settings
|
# Extend home-manager configuration with host-specific monitor settings
|
||||||
home-manager.users.schulze.imports = [
|
home-manager.users.schulze.imports = [
|
||||||
|
@@ -9,6 +9,7 @@
|
|||||||
wallpaper = [
|
wallpaper = [
|
||||||
", $HOME/git/nix-config/modules/hm/images/nix.png"
|
", $HOME/git/nix-config/modules/hm/images/nix.png"
|
||||||
"DP-3, $HOME/git/nix-config/modules/hm/images/sunset-rocks.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
19
hosts/wildfire/vpn.nix
Normal 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;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user