small fix
This commit is contained in:
parent
34fb94842a
commit
3d4f92c001
1 changed files with 2 additions and 2 deletions
|
|
@ -18,11 +18,11 @@
|
|||
{ file = "/var/keys/secret_file"; parentDirectory = { mode = "u=rwx,g=,o="; }; }
|
||||
];
|
||||
};
|
||||
systemd.tmpfiles.rules = {
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /persist/home/ 0777 root root -" # /persist/home created, owned by root
|
||||
"d /persist/home/${username} 0700 ${username} users -" # /persist/home/<user> created, owned by that user
|
||||
"d /persist/nixos-config/ 0700 ${username} users -"
|
||||
}
|
||||
]
|
||||
|
||||
programs.fuse.userAllowOther = true;
|
||||
boot.initrd.postDeviceCommands = lib.mkAfter ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue