pseudofile: allow setting uid and gid of files
Necessary for Dropbear to accept non-root authorized_keys files.
This commit is contained in:
parent
9f3c80e774
commit
fb796e61e0
2 changed files with 4 additions and 1 deletions
|
@ -69,6 +69,7 @@ in {
|
|||
(name: val: dir {
|
||||
".ssh" = dir {
|
||||
authorized_keys = {
|
||||
inherit (val) uid gid;
|
||||
type = "f";
|
||||
mode = "0400";
|
||||
file = lib.concatStringsSep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue