From fcca2c9be1ee3ebdfbbff71689b3fbd72509e077 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Thu, 19 Mar 2026 12:15:58 +0000 Subject: [PATCH] Working on reshuffling --- Droidnix/README.org | 7 ++++--- Droidnix/generated/system/mysystem.nix | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) 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 = {}; }; }