diff options
Diffstat (limited to '')
-rw-r--r-- | modules/common/curl.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/common/curl.nix b/modules/common/curl.nix index 1514a09..6895262 100644 --- a/modules/common/curl.nix +++ b/modules/common/curl.nix @@ -4,9 +4,11 @@ pkgs, ... }: -with lib; let +with lib; +let cfg = config.nixfiles.modules.curl; -in { +in +{ options.nixfiles.modules.curl.enable = mkEnableOption "cURL"; config = mkIf cfg.enable { |