summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@sap.com>2023-01-30 16:54:21 +0100
committerSandro Jäckel <sandro.jaeckel@sap.com>2023-01-30 16:54:21 +0100
commited9cb58886509f830c7f3ed1974a25005dd54978 (patch)
tree1d41643a8741208e84bc0582c40b25fdcd8ed03c /nixos
parent0125b49eeb938a98a59b72e5a2d40999858a6727 (diff)
nixos/virtualisation/*: replace deprecated types.string with types.str
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/amazon-options.nix4
-rw-r--r--nixos/modules/virtualisation/openstack-options.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/virtualisation/amazon-options.nix b/nixos/modules/virtualisation/amazon-options.nix
index 926fe43b0ffe..3ea4a6cf7818 100644
--- a/nixos/modules/virtualisation/amazon-options.nix
+++ b/nixos/modules/virtualisation/amazon-options.nix
@@ -28,13 +28,13 @@ in {
options = {
mount = lib.mkOption {
description = lib.mdDoc "Where to mount this dataset.";
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
};
properties = lib.mkOption {
description = lib.mdDoc "Properties to set on this dataset.";
- type = types.attrsOf types.string;
+ type = types.attrsOf types.str;
default = {};
};
};
diff --git a/nixos/modules/virtualisation/openstack-options.nix b/nixos/modules/virtualisation/openstack-options.nix
index c71b581b02ca..52f45de92ecb 100644
--- a/nixos/modules/virtualisation/openstack-options.nix
+++ b/nixos/modules/virtualisation/openstack-options.nix
@@ -29,13 +29,13 @@ in
options = {
mount = lib.mkOption {
description = lib.mdDoc "Where to mount this dataset.";
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
};
properties = lib.mkOption {
description = lib.mdDoc "Properties to set on this dataset.";
- type = types.attrsOf types.string;
+ type = types.attrsOf types.str;
default = { };
};
};