diff options
Diffstat (limited to 'modules/sing-box.nix')
-rw-r--r-- | modules/sing-box.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/sing-box.nix b/modules/sing-box.nix index 9fc86eb..74c86af 100644 --- a/modules/sing-box.nix +++ b/modules/sing-box.nix @@ -4,16 +4,15 @@ lib, ... }: -with lib; let cfg = config.nixfiles.modules.sing-box; in { options.nixfiles.modules.sing-box = { - enable = mkEnableOption ""; + enable = lib.mkEnableOption ""; }; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { assertions = [ { assertion = cfg.enable -> !config.nixfiles.modules.nginx.enable; |