mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 06:22:56 +00:00
d021baa1bb
required because they don't share all attributes
13 lines
243 B
Nix
13 lines
243 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
options.mullvad.enable = lib.mkEnableOption "Mullvad VPN.";
|
|
|
|
config = lib.mkIf config.mullvad.enable {
|
|
|
|
services.mullvad-vpn.enable = true;
|
|
environment.systemPackages = [ pkgs.mullvad-vpn ];
|
|
|
|
};
|
|
|
|
}
|