types disk: cleanup name

This commit is contained in:
lassulus 2023-07-18 00:10:35 +02:00 committed by mergify[bot]
parent 5ad79f43df
commit 774ce7df25

View File

@ -3,7 +3,7 @@
options = {
name = lib.mkOption {
type = lib.types.str;
default = config._module.args.name;
default = lib.replaceStrings ["/"] ["_"] config._module.args.name;
description = "Device name";
};
type = lib.mkOption {