mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-04 22:20:38 +01:00
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-*" ];
|
|
};
|
|
};
|
|
}
|