use str instead of string
This commit is contained in:
parent
76408a1df3
commit
32f43351d4
2 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ with lib; let
|
||||||
in {
|
in {
|
||||||
options.autoContainers = mkOption {
|
options.autoContainers = mkOption {
|
||||||
default = [];
|
default = [];
|
||||||
type = types.listOf types.string;
|
type = types.listOf types.str;
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
containers = listToAttrs (map (container: {
|
containers = listToAttrs (map (container: {
|
||||||
|
|
|
@ -7,18 +7,18 @@ with lib; {
|
||||||
options.networking = {
|
options.networking = {
|
||||||
rootHostName = mkOption {
|
rootHostName = mkOption {
|
||||||
description = "Hostname of the running host";
|
description = "Hostname of the running host";
|
||||||
type = types.string;
|
type = types.str;
|
||||||
default = "";
|
default = "";
|
||||||
example = "rainbow-resort";
|
example = "rainbow-resort";
|
||||||
};
|
};
|
||||||
nodeID = mkOption {
|
nodeID = mkOption {
|
||||||
description = "Unique node ID";
|
description = "Unique node ID";
|
||||||
type = types.string;
|
type = types.str;
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
};
|
};
|
||||||
fullHostName = mkOption {
|
fullHostName = mkOption {
|
||||||
description = "Full combined host name";
|
description = "Full combined host name";
|
||||||
type = types.string;
|
type = types.str;
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue