lol

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

+4 -4
+2 -2
nixos/modules/virtualisation/amazon-options.nix
··· 28 28 options = { 29 29 mount = lib.mkOption { 30 30 description = lib.mdDoc "Where to mount this dataset."; 31 - type = types.nullOr types.string; 31 + type = types.nullOr types.str; 32 32 default = null; 33 33 }; 34 34 35 35 properties = lib.mkOption { 36 36 description = lib.mdDoc "Properties to set on this dataset."; 37 - type = types.attrsOf types.string; 37 + type = types.attrsOf types.str; 38 38 default = {}; 39 39 }; 40 40 };
+2 -2
nixos/modules/virtualisation/openstack-options.nix
··· 29 29 options = { 30 30 mount = lib.mkOption { 31 31 description = lib.mdDoc "Where to mount this dataset."; 32 - type = types.nullOr types.string; 32 + type = types.nullOr types.str; 33 33 default = null; 34 34 }; 35 35 36 36 properties = lib.mkOption { 37 37 description = lib.mdDoc "Properties to set on this dataset."; 38 - type = types.attrsOf types.string; 38 + type = types.attrsOf types.str; 39 39 default = { }; 40 40 }; 41 41 };