Working on reshuffling
This commit is contained in:
+4
-3
@@ -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
|
||||||
|
|||||||
@@ -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 = {};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user