nixos/services/mullvad.nix

7 lines
122 B
Nix

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