mirror of
https://github.com/nix-community/disko.git
synced 2024-09-19 02:27:27 +03:00
types disk: cleanup name
This commit is contained in:
parent
5ad79f43df
commit
774ce7df25
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user