diff --git a/Droidnix/README.org b/Droidnix/README.org index ab7df6496..673b3287f 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -135,11 +135,12 @@ The Nix flake definition for Droidnix. This sets the networking. #+BEGIN_SRC nix :tangle generated/system/mysystem.nix :noweb tangle :mkdirp yes :eval never-html { lib, ... }: + { options.mySystem = lib.mkOption { - type = lib.types.attrsOf lib.types.anything; - default = {}; - description = "Root for custom mySystem options (hierarchical)"; + type = lib.types.submodule; + description = "Root for custom mySystem options"; + options = {}; }; } #+END_SRC diff --git a/Droidnix/generated/system/mysystem.nix b/Droidnix/generated/system/mysystem.nix index 11ce328c0..01e71d21d 100644 --- a/Droidnix/generated/system/mysystem.nix +++ b/Droidnix/generated/system/mysystem.nix @@ -1,8 +1,9 @@ { lib, ... }: + { options.mySystem = lib.mkOption { - type = lib.types.attrsOf lib.types.anything; - default = {}; - description = "Root for custom mySystem options (hierarchical)"; + type = lib.types.submodule; + description = "Root for custom mySystem options"; + options = {}; }; }