Compare commits
2 Commits
165b36dd9f
...
5e2f9e287b
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e2f9e287b | |||
| bca45c1ba2 |
+3
-4
@@ -137,10 +137,9 @@ This sets the networking.
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
options.mySystem = lib.mkOption {
|
# Declare a submodule container for all mySystem children
|
||||||
type = lib.types.attrsOf lib.types.submodule; # works in all versions
|
options.mySystem = lib.mkSubmodule {
|
||||||
default = {};
|
description = "Root container for all mySystem options";
|
||||||
description = "Root container for all my custom system options";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
options.mySystem = lib.mkOption {
|
# Declare a submodule container for all mySystem children
|
||||||
type = lib.types.attrsOf lib.types.submodule; # works in all versions
|
options.mySystem = lib.mkSubmodule {
|
||||||
default = {};
|
description = "Root container for all mySystem options";
|
||||||
description = "Root container for all my custom system options";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user