Mullvad VPN: Difference between revisions

From NixOS Wiki
imported>Pear
Create page
 
fix path to nixos configuration
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{warning|1=Mullvad VPN currently only works if systemd-resolved is enable. More info [https://discourse.nixos.org/t/connected-to-mullvadvpn-but-no-internet-connection/35803/8?u=lion at this forum post]. If this issue is fixed please remove this warning banner.}}  
{{warning|1=Mullvad VPN currently only works if [[systemd-resolved]] is enable. More info [https://discourse.nixos.org/t/connected-to-mullvadvpn-but-no-internet-connection/35803/8?u=lion at this forum post]. If this issue is fixed please remove this warning banner.}}  


To install Mullvad VPN, you need to enable it in your system options:
To install Mullvad VPN, you need to enable it in your system options:


{{file|/etc/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.mullvad-vpn.enable = true;
services.mullvad-vpn.enable = true;
</nowiki>}}
</nowiki>}}
Line 12: Line 12:
services.mullvad-vpn.package = pkgs.mullvad-vpn;
services.mullvad-vpn.package = pkgs.mullvad-vpn;
</syntaxHighlight>
</syntaxHighlight>
[[Category:Applications]]

Latest revision as of 11:06, 1 July 2024

Warning: Mullvad VPN currently only works if systemd-resolved is enable. More info at this forum post. If this issue is fixed please remove this warning banner.

To install Mullvad VPN, you need to enable it in your system options:

/etc/nixos/configuration.nix
services.mullvad-vpn.enable = true;

If you want to use the GUI application:

services.mullvad-vpn.package = pkgs.mullvad-vpn;