2022-02-14 22:53:18 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2022-11-09 21:45:00 +00:00
|
|
|
options.services.mozillavpn.enable =
|
|
|
|
lib.mkEnableOption (lib.mdDoc "Mozilla VPN daemon");
|
2022-02-14 22:53:18 +00:00
|
|
|
|
|
|
|
config = lib.mkIf config.services.mozillavpn.enable {
|
|
|
|
environment.systemPackages = [ pkgs.mozillavpn ];
|
|
|
|
services.dbus.packages = [ pkgs.mozillavpn ];
|
|
|
|
systemd.packages = [ pkgs.mozillavpn ];
|
|
|
|
};
|
|
|
|
|
|
|
|
meta.maintainers = with lib.maintainers; [ andersk ];
|
|
|
|
}
|