Working on reshuffling

This commit is contained in:
henrov committed 2026-03-19 12:15:58 +00:00
1 parent 708eeb8475
commit fcca2c9be1
2 files changed
+8 -6

No files matched your search

+4 -3
View File
@@ -135,11 +135,12 @@ The Nix flake definition for Droidnix.
This sets the networking. This sets the networking.
#+BEGIN_SRC nix :tangle generated/system/mysystem.nix :noweb tangle :mkdirp yes :eval never-html #+BEGIN_SRC nix :tangle generated/system/mysystem.nix :noweb tangle :mkdirp yes :eval never-html
{ lib, ... }: { lib, ... }:
{ {
options.mySystem = lib.mkOption { options.mySystem = lib.mkOption {
type = lib.types.attrsOf lib.types.anything; type = lib.types.submodule;
default = {}; description = "Root for custom mySystem options";
description = "Root for custom mySystem options (hierarchical)"; options = {};
}; };
} }
#+END_SRC #+END_SRC
+4 -3
View File
@@ -1,8 +1,9 @@
{ lib, ... }: { lib, ... }:
{ {
options.mySystem = lib.mkOption { options.mySystem = lib.mkOption {
type = lib.types.attrsOf lib.types.anything; type = lib.types.submodule;
default = {}; description = "Root for custom mySystem options";
description = "Root for custom mySystem options (hierarchical)"; options = {};
}; };
} }