nixos/services.expressvpn: remove with lib;
This commit is contained in:
parent
19e88959ef
commit
abc0a6e035
@ -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 ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user