From 32f43351d49c5b96c30e8dc90c8c5243b746b8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Mon, 28 Oct 2024 11:43:52 +0100 Subject: [PATCH] use str instead of string --- modules/containers/autoconfig.nix | 2 +- modules/containers/hostName.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/containers/autoconfig.nix b/modules/containers/autoconfig.nix index 2eea433b..f1792f85 100644 --- a/modules/containers/autoconfig.nix +++ b/modules/containers/autoconfig.nix @@ -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: { diff --git a/modules/containers/hostName.nix b/modules/containers/hostName.nix index 82f02e24..4a45371f 100644 --- a/modules/containers/hostName.nix +++ b/modules/containers/hostName.nix @@ -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; }; };