Compare commits
2 Commits
25ae144ee9
...
8109f48294
| Author | SHA1 | Date | |
|---|---|---|---|
| 8109f48294 | |||
| d75191b68f |
+10
-5
@@ -135,12 +135,17 @@ 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.mkSubmodule {
|
||||||
type = lib.types.attrsOf lib.types.attrsOf lib.types.any;
|
description = "Root for custom mySystem options";
|
||||||
default = {};
|
|
||||||
description = "Root container for custom mySystem options (desktop, apps, etc.)";
|
options = {
|
||||||
|
desktop = lib.mkSubmodule {
|
||||||
|
description = "Desktop-related modules (fonts, wm, theming)";
|
||||||
|
|
||||||
|
options = {};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
@@ -1,9 +1,14 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
options.mySystem = lib.mkOption {
|
options.mySystem = lib.mkSubmodule {
|
||||||
type = lib.types.attrsOf lib.types.attrsOf lib.types.any;
|
description = "Root for custom mySystem options";
|
||||||
default = {};
|
|
||||||
description = "Root container for custom mySystem options (desktop, apps, etc.)";
|
options = {
|
||||||
|
desktop = lib.mkSubmodule {
|
||||||
|
description = "Desktop-related modules (fonts, wm, theming)";
|
||||||
|
|
||||||
|
options = {};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user