dotfiles/modules/nixos/services/mullvad.nix

13 lines
243 B
Nix
Raw Permalink Normal View History

2022-12-21 21:18:03 +00:00
{ config, pkgs, lib, ... }: {
2022-06-04 15:24:40 +00:00
2022-12-21 21:18:03 +00:00
options.mullvad.enable = lib.mkEnableOption "Mullvad VPN.";
config = lib.mkIf config.mullvad.enable {
services.mullvad-vpn.enable = true;
environment.systemPackages = [ pkgs.mullvad-vpn ];
};
2022-06-04 15:24:40 +00:00
}