nix-config/modules/nix/vpn/mullvad.nix
2025-07-10 16:20:06 +02:00

19 lines
357 B
Nix

{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.mullvad.enable = mkOption {
type = types.bool;
default = false;
description = "mullvad's software";
};
config = mkIf config.smayzy.mullvad.enable {
environment.systemPackages = with pkgs; [
mullvad-vpn
mullvad-browser
];
};
}