types disk: cleanup name

This commit is contained in:
lassulus authored and mergify[bot] committed 2023-07-19 19:07:40 +00:00
1 parent 5ad79f43df
commit 774ce7df25
1 file changed
+1 -1
+1 -1
View File
@@ -3,7 +3,7 @@
options = { options = {
name = lib.mkOption { name = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = config._module.args.name; default = lib.replaceStrings ["/"] ["_"] config._module.args.name;
description = "Device name"; description = "Device name";
}; };
type = lib.mkOption { type = lib.mkOption {