feat: refined options for datasets
This commit is contained in:
parent
0de97fa4a2
commit
9df29cc07f
6 changed files with 295 additions and 271 deletions
|
|
@ -1,10 +1,5 @@
|
|||
args @ {
|
||||
lib,
|
||||
name,
|
||||
...
|
||||
}: {...}: let
|
||||
args @ {lib, ...}: {name, ...}: let
|
||||
datasetSubmodule = (import ./dataset.nix) args;
|
||||
|
||||
pathPermissions = {
|
||||
read = lib.mkEnableOption "should the path have read permissions";
|
||||
write = lib.mkEnableOption "should the path have read permissions";
|
||||
|
|
@ -52,6 +47,8 @@ in {
|
|||
};
|
||||
|
||||
config = {
|
||||
mountpoint = "/${name}";
|
||||
mount = {
|
||||
mountPoint = lib.mkDefault "/${name}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue