dotfiles/modules/nixos/services/mullvad.nix

15 lines
322 B
Nix
Raw Permalink Normal View History

2024-01-10 04:11:11 +00:00
# Mullvad is a VPN service. This isn't currently in use for me at the moment.
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
}