Compare commits
2 Commits
9765afe2bd
...
81792f025f
| Author | SHA1 | Date | |
|---|---|---|---|
| 81792f025f | |||
| 303319d6a2 |
+2
-3
@@ -137,11 +137,10 @@ This sets the networking.
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
# Root for custom options
|
||||
options.mySystem = lib.mkOption {
|
||||
type = lib.types.attrs; # simple attribute set
|
||||
type = lib.types.attrsOf lib.types.value; # allows nested options
|
||||
default = {};
|
||||
description = "Root for custom mySystem options";
|
||||
description = "Root container for all my custom system options";
|
||||
};
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
# Root for custom options
|
||||
options.mySystem = lib.mkOption {
|
||||
type = lib.types.attrs; # simple attribute set
|
||||
type = lib.types.attrsOf lib.types.value; # allows nested options
|
||||
default = {};
|
||||
description = "Root for custom mySystem options";
|
||||
description = "Root container for all my custom system options";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user