fix(fs): ensure /var/lib/private mode
This commit is contained in:
parent
591005b9c0
commit
d42df79303
|
@ -90,5 +90,10 @@ in {
|
|||
inherit (cfg.cryptsetup) allowDiscards bypassWorkqueues;
|
||||
device = "/dev/disk/by-uuid/${uuid}";
|
||||
}) cfg.cryptsetup.uuids);
|
||||
|
||||
environment.persistence."/nix/persist/fhs".files = [ {
|
||||
file = "/var/lib/private/mode";
|
||||
parentDirectory.mode = "0700";
|
||||
} ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue