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 {
|
||||
options.autoContainers = mkOption {
|
||||
default = [];
|
||||
type = types.listOf types.string;
|
||||
type = types.listOf types.str;
|
||||
};
|
||||
config = {
|
||||
containers = listToAttrs (map (container: {
|
||||
|
|
|
@ -7,18 +7,18 @@ with lib; {
|
|||
options.networking = {
|
||||
rootHostName = mkOption {
|
||||
description = "Hostname of the running host";
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
default = "";
|
||||
example = "rainbow-resort";
|
||||
};
|
||||
nodeID = mkOption {
|
||||
description = "Unique node ID";
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
readOnly = true;
|
||||
};
|
||||
fullHostName = mkOption {
|
||||
description = "Full combined host name";
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
readOnly = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue