This commit is contained in:
parent
5f644d0ccd
commit
a394b9cefd
167 changed files with 2795 additions and 2122 deletions
|
@ -3,7 +3,8 @@
|
|||
config,
|
||||
vpn,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
networking.firewall.interfaces.wg0 = {
|
||||
allowedUDPPortRanges = [
|
||||
{
|
||||
|
@ -24,11 +25,8 @@
|
|||
listenPort = 51820;
|
||||
};
|
||||
|
||||
networking.hosts =
|
||||
lib.mapAttrs'
|
||||
(hostname: vpnConfig: {
|
||||
name = vpnConfig.ip;
|
||||
value = ["${hostname}.fleet"];
|
||||
})
|
||||
vpn;
|
||||
networking.hosts = lib.mapAttrs' (hostname: vpnConfig: {
|
||||
name = vpnConfig.ip;
|
||||
value = [ "${hostname}.fleet" ];
|
||||
}) vpn;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue