Create groups for encrypted filesystems
This commit is contained in:
+15
-1
@@ -16,7 +16,21 @@ rec {
|
||||
description = "List of filesystem options specific to this mountpoint (eg: subvol).";
|
||||
};
|
||||
|
||||
# TODO: Access control. Group? List of users?
|
||||
group = mkOption {
|
||||
type = nullOr str;
|
||||
description = "Group to which the mountpoint should belong.";
|
||||
default = null;
|
||||
};
|
||||
|
||||
users = mkOption {
|
||||
type = listOf str;
|
||||
description = ''
|
||||
List of users who should have access to the filesystem.
|
||||
|
||||
Requires a group to be set.
|
||||
'';
|
||||
default = [ ];
|
||||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
|
||||
Reference in New Issue
Block a user