use str instead of string

This commit is contained in:
Charlotte 🦝 Delenk 2024-10-28 11:43:52 +01:00
parent 76408a1df3
commit 32f43351d4
2 changed files with 4 additions and 4 deletions

View file

@ -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: {

View file

@ -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;
};
};