nixos/virtualisation/*: replace deprecated types.string with types.str
This commit is contained in:
parent
0125b49eeb
commit
ed9cb58886
@ -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 = {};
|
||||
};
|
||||
};
|
||||
|
@ -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 = { };
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user