networking lambdas to enable wakeonlan and hosts file
This commit is contained in:
@@ -15,7 +15,7 @@ in
|
||||
firewall.allowedUDPPorts = [ port ];
|
||||
nat = {
|
||||
enable = true;
|
||||
externalInterface = "enp2s0";
|
||||
externalInterface = config.my.interfaces.${config.hostName};
|
||||
internalInterfaces = [ "wg0" ];
|
||||
};
|
||||
wireguard.interfaces.wg0 = {
|
||||
|
||||
Reference in New Issue
Block a user