support unhashed password files
This commit is contained in:
+13
@@ -178,6 +178,19 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
passwordFile = mkOption {
|
||||
type =
|
||||
with types;
|
||||
nullOr (pathWith {
|
||||
inStore = false;
|
||||
});
|
||||
default = null;
|
||||
example = "/run/keys/user1-password";
|
||||
description = ''
|
||||
A file containing the user's plain text password. The value will be hashed at runtime.
|
||||
'';
|
||||
};
|
||||
|
||||
aliases = mkOption {
|
||||
type = with types; listOf types.str;
|
||||
example = [
|
||||
|
||||
Reference in New Issue
Block a user