nixos/services.ivpn: remove with lib;
This commit is contained in:
parent
aa27551b00
commit
050c81941d
@ -2,11 +2,10 @@
|
||||
let
|
||||
cfg = config.services.ivpn;
|
||||
in
|
||||
with lib;
|
||||
{
|
||||
options.services.ivpn = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
This option enables iVPN daemon.
|
||||
@ -15,7 +14,7 @@ with lib;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
boot.kernelModules = [ "tun" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [ ivpn ivpn-service ];
|
||||
@ -47,5 +46,5 @@ with lib;
|
||||
};
|
||||
};
|
||||
|
||||
meta.maintainers = with maintainers; [ ataraxiasjel ];
|
||||
meta.maintainers = with lib.maintainers; [ ataraxiasjel ];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user