nixos/services/mullvad.nix

9 lines
126 B
Nix

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