nixos/virtualisation/*: replace deprecated types.string with types.str

This commit is contained in:
Sandro Jäckel 2023-01-30 16:54:21 +01:00
parent 0125b49eeb
commit ed9cb58886
No known key found for this signature in database
GPG Key ID: B1763F8651144063
2 changed files with 4 additions and 4 deletions

View File

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

View File

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