fix: fixed file system resolution
This commit is contained in:
parent
5dc602339c
commit
2922114367
5 changed files with 36 additions and 74 deletions
|
|
@ -42,16 +42,10 @@
|
|||
description = "Synchronous write behavior";
|
||||
};
|
||||
|
||||
mount = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.either lib.types.bool (lib.types.enum ["on" "off" "noauto"]);
|
||||
default = true;
|
||||
description = "Whether and how the dataset should be mounted";
|
||||
};
|
||||
mountPoint = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "Controls the mount point used for this file system";
|
||||
};
|
||||
mount = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.str;
|
||||
description = "Controls the mount point used for this file system";
|
||||
default = null;
|
||||
};
|
||||
|
||||
encryption = {
|
||||
|
|
|
|||
|
|
@ -47,9 +47,6 @@ in {
|
|||
};
|
||||
|
||||
config = {
|
||||
mount = {
|
||||
mountPoint = lib.mkDefault "/${name}";
|
||||
enable = lib.mkDefault true;
|
||||
};
|
||||
mount = lib.mkDefault "/${name}";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue