forked from extern/nix-config
19 lines
307 B
Nix
19 lines
307 B
Nix
|
{
|
||
|
services.mullvad-vpn = {
|
||
|
enable = true;
|
||
|
enableExcludeWrapper = false;
|
||
|
};
|
||
|
|
||
|
networking = {
|
||
|
nat = {
|
||
|
enable = true;
|
||
|
internalInterfaces = [ "ve-+" ];
|
||
|
externalInterface = "wg-mullvad";
|
||
|
};
|
||
|
|
||
|
networkmanager = {
|
||
|
unmanaged = [ "interface-name:ve-*" ];
|
||
|
};
|
||
|
};
|
||
|
}
|