nixos/services.expressvpn: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-28 21:19:06 +02:00 committed by Jörg Thalheim
parent 19e88959ef
commit abc0a6e035

View File

@ -1,16 +1,14 @@
{ config, lib, pkgs, ... }:
with lib;
{
options.services.expressvpn.enable = mkOption {
type = types.bool;
options.services.expressvpn.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable the ExpressVPN daemon.
'';
};
config = mkIf config.services.expressvpn.enable {
config = lib.mkIf config.services.expressvpn.enable {
boot.kernelModules = [ "tun" ];
systemd.services.expressvpn = {
@ -26,5 +24,5 @@ with lib;
};
};
meta.maintainers = with maintainers; [ yureien ];
meta.maintainers = with lib.maintainers; [ yureien ];
}