nixos/services/mullvad.nix

9 lines
132 B
Nix

{
config,
lib,
...
}:
with lib;
mkIf (elem "mullvad" config.machine.services) {
services.mullvad-vpn.enable = true;
}