2023-06-22 17:00:39 +02:00
|
|
|
{
|
2023-06-18 21:51:52 +02:00
|
|
|
networking = {
|
2023-06-22 17:00:39 +02:00
|
|
|
hostName = "nixos";
|
2023-06-18 21:51:52 +02:00
|
|
|
|
|
|
|
networkmanager = {
|
|
|
|
enable = true;
|
|
|
|
wifi.macAddress = "random";
|
|
|
|
ethernet.macAddress = "random";
|
|
|
|
|
|
|
|
unmanaged = [ "interface-name:ve-*" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
useHostResolvConf = true;
|
|
|
|
|
|
|
|
nat = {
|
|
|
|
enable = true;
|
|
|
|
internalInterfaces = [ "ve-+" ];
|
|
|
|
externalInterface = "wg-mullvad";
|
|
|
|
};
|
2023-07-15 23:02:55 +02:00
|
|
|
|
|
|
|
firewall = {
|
|
|
|
allowedUDPPorts = [ 5029 ];
|
|
|
|
};
|
2023-06-18 21:51:52 +02:00
|
|
|
};
|
|
|
|
}
|