mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-03 21:53:26 +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-*" ];
|
|
};
|
|
};
|
|
}
|