deploy wireguard
This commit is contained in:
parent
a47d096503
commit
8bb7ffd92a
6 changed files with 175 additions and 212 deletions
|
|
@ -6,12 +6,12 @@
|
|||
./containers.nix
|
||||
./proxy.nix
|
||||
../system-default.nix
|
||||
../../../modules/vpn/tailscale.nix
|
||||
../../../modules/podman.nix
|
||||
../../../modules/traefik.nix
|
||||
../../../modules/borg/client.nix
|
||||
../../../modules/media/server.nix
|
||||
../../../modules/file-server/samba.nix
|
||||
../../../modules/vpn/client.nix
|
||||
];
|
||||
|
||||
# GRUB bootloader with ZFS support
|
||||
|
|
@ -132,9 +132,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.tailscale-custom = {
|
||||
exitNode = true;
|
||||
subnetRoutes = [ "10.1.1.0/24" ];
|
||||
services.wireguard-client = {
|
||||
enable = true;
|
||||
address = "10.2.2.10/24";
|
||||
serverPublicKey = "<vps-public-key>";
|
||||
serverEndpoint = "91.98.84.215:51820";
|
||||
};
|
||||
|
||||
# Media server services
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue