Compare commits
2 Commits
8f5e9129d1
...
165b36dd9f
| Author | SHA1 | Date | |
|---|---|---|---|
| 165b36dd9f | |||
| 307680e855 |
+1
-1
@@ -138,7 +138,7 @@ This sets the networking.
|
|||||||
|
|
||||||
{
|
{
|
||||||
options.mySystem = lib.mkOption {
|
options.mySystem = lib.mkOption {
|
||||||
type = lib.types.attrsOf lib.types.anything; # works in all versions
|
type = lib.types.attrsOf lib.types.submodule; # works in all versions
|
||||||
default = {};
|
default = {};
|
||||||
description = "Root container for all my custom system options";
|
description = "Root container for all my custom system options";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
options.mySystem = lib.mkOption {
|
options.mySystem = lib.mkOption {
|
||||||
type = lib.types.attrsOf lib.types.anything; # works in all versions
|
type = lib.types.attrsOf lib.types.submodule; # works in all versions
|
||||||
default = {};
|
default = {};
|
||||||
description = "Root container for all my custom system options";
|
description = "Root container for all my custom system options";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user