2023-06-22 16:42:23 +02:00
|
|
|
{ config, ... }: {
|
2023-06-18 21:51:52 +02:00
|
|
|
networking = {
|
2023-06-22 16:42:23 +02:00
|
|
|
hostName = config.variables.hostname;
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|