From 9c3816da0d072a771ee607cde87f8da41557a1e1 Mon Sep 17 00:00:00 2001 From: Victor Borja Date: Mon, 16 Mar 2026 11:06:29 -0600 Subject: [PATCH] fix #252 --- modules/aspects.nix | 2 ++ nix/ctx-types.nix | 2 ++ nix/nixModule/ctx.nix | 2 ++ nix/nixModule/lib.nix | 1 + nix/types.nix | 6 ++++++ 5 files changed, 13 insertions(+) diff --git a/modules/aspects.nix b/modules/aspects.nix index c3c3865..8d459ed 100644 --- a/modules/aspects.nix +++ b/modules/aspects.nix @@ -7,5 +7,7 @@ options.flake.denful = lib.mkOption { default = { }; type = lib.types.attrsOf lib.types.raw; + internal = true; + visible = false; }; } diff --git a/nix/ctx-types.nix b/nix/ctx-types.nix index e26340a..b2dfb82 100644 --- a/nix/ctx-types.nix +++ b/nix/ctx-types.nix @@ -27,6 +27,8 @@ let options.into = lib.mkOption { description = "Context transformations to other context types"; type = intoType; + internal = true; + visible = false; default = _: { }; apply = normalizeInto; }; diff --git a/nix/nixModule/ctx.nix b/nix/nixModule/ctx.nix index 752d1c0..7023441 100644 --- a/nix/nixModule/ctx.nix +++ b/nix/nixModule/ctx.nix @@ -10,6 +10,8 @@ in { options.den.ctx = lib.mkOption { default = { }; + internal = true; + visible = false; type = lib.types.lazyAttrsOf ctxTreeType; }; } diff --git a/nix/nixModule/lib.nix b/nix/nixModule/lib.nix index 1758412..57bca71 100644 --- a/nix/nixModule/lib.nix +++ b/nix/nixModule/lib.nix @@ -7,6 +7,7 @@ { config.den.lib = den-lib; options.den.lib = lib.mkOption { + default = { }; internal = true; visible = false; type = lib.types.submodule { freeformType = lib.types.lazyAttrsOf lib.types.unspecified; }; diff --git a/nix/types.nix b/nix/types.nix index 263ee6a..c9713ef 100644 --- a/nix/types.nix +++ b/nix/types.nix @@ -56,6 +56,8 @@ let ''; example = lib.literalExpression "inputs.nixpkgs.lib.nixosSystem"; type = lib.types.raw; + internal = true; + visible = false; default = { nixos = inputs.nixpkgs.lib.nixosSystem; @@ -168,6 +170,8 @@ let example = lib.literalExpression ''inputs.nixpkgs.legacyPackages.''${home.system}''; type = lib.types.raw; default = inputs.nixpkgs.legacyPackages.${config.system}; + internal = true; + visible = false; }; instantiate = lib.mkOption { description = '' @@ -183,6 +187,8 @@ let ''; example = lib.literalExpression "inputs.home-manager.lib.homeManagerConfiguration"; type = lib.types.raw; + internal = true; + visible = false; default = { homeManager = inputs.home-manager.lib.homeManagerConfiguration;