mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 22:13:28 +01:00
types disk: cleanup name
This commit is contained in:
1 parent
5ad79f43df
commit
774ce7df25
1 file changed
+1
-1
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user