Merge pull request #213602 from SuperSandro2000/types.string
nixos/virtualisation/*: replace deprecated types.string with types.str
This commit is contained in:
commit
f1a142c476
@ -28,13 +28,13 @@ in {
|
|||||||
options = {
|
options = {
|
||||||
mount = lib.mkOption {
|
mount = lib.mkOption {
|
||||||
description = lib.mdDoc "Where to mount this dataset.";
|
description = lib.mdDoc "Where to mount this dataset.";
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
properties = lib.mkOption {
|
properties = lib.mkOption {
|
||||||
description = lib.mdDoc "Properties to set on this dataset.";
|
description = lib.mdDoc "Properties to set on this dataset.";
|
||||||
type = types.attrsOf types.string;
|
type = types.attrsOf types.str;
|
||||||
default = {};
|
default = {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -29,13 +29,13 @@ in
|
|||||||
options = {
|
options = {
|
||||||
mount = lib.mkOption {
|
mount = lib.mkOption {
|
||||||
description = lib.mdDoc "Where to mount this dataset.";
|
description = lib.mdDoc "Where to mount this dataset.";
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
properties = lib.mkOption {
|
properties = lib.mkOption {
|
||||||
description = lib.mdDoc "Properties to set on this dataset.";
|
description = lib.mdDoc "Properties to set on this dataset.";
|
||||||
type = types.attrsOf types.string;
|
type = types.attrsOf types.str;
|
||||||
default = { };
|
default = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user