diff --git a/modules/nixos/networking/vpn.nix b/modules/nixos/networking/vpn.nix index 8e4010f2..0b4760e7 100644 --- a/modules/nixos/networking/vpn.nix +++ b/modules/nixos/networking/vpn.nix @@ -1,15 +1,14 @@ +{ pkgs, config, ... }: { - lib, - pkgs, - config, - ... -}: -{ - config = lib.mkIf config.garden.profiles.graphical.enable { - services.mullvad-vpn.enable = true; + services.mullvad-vpn = { + inherit (config.garden.profiles.graphical) enable; + + # this is not the default despite what you might think. this is the gui + # version of the package + package = pkgs.mullvad-vpn; - garden.packages = { - inherit (pkgs) mullvad mullvad-vpn; - }; + # "Might have minor security impact, so consider disabling if you do not use the feature" + # well i don't use it so. sure lets do that + enableExcludeWrapper = false; }; }