Merge pull request #213602 from SuperSandro2000/types.string

nixos/virtualisation/*: replace deprecated types.string with types.str
This commit is contained in:
Nick Cao 2023-02-01 09:59:09 +08:00 committed by GitHub
commit f1a142c476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 = { };
};
};