mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
types disk: cleanup name
This commit is contained in:
parent
5ad79f43df
commit
774ce7df25
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue