generify the vpn setup
This commit is contained in:
parent
8c454565d8
commit
c72c30a4be
8 changed files with 68 additions and 79 deletions
|
@ -12,7 +12,6 @@
|
|||
./hardware-configuration.nix
|
||||
|
||||
# Import shared settings
|
||||
../../shared
|
||||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
|
@ -209,7 +208,8 @@
|
|||
# };
|
||||
|
||||
# wg public key for host: A02sO7uLdgflhPIRd0cbJONIaPP4z8HTxDkmX4NegFg=
|
||||
wg1 = {
|
||||
# TODO: generate this dynamically based on other hosts
|
||||
wg0 = lib.mkForce {
|
||||
# Determines the IP address and subnet of the server's end of the tunnel interface.
|
||||
address = ["10.0.0.1/24" "fdc9:281f:04d7:9ee9::1/64"];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue