persist /var/private globally

This commit is contained in:
♥ Minnie ♥ 2024-12-21 21:55:23 +08:00
parent d348fb8032
commit 2e37cefe3e
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 6 additions and 9 deletions

View file

@ -14,6 +14,12 @@
"/var/lib/nixos"
"/var/lib/systemd/coredump"
"/etc/NetworkManager/system-connections"
# Directories that require mode other than 0755
{
directory = "/var/lib/private";
mode = "0700";
}
];
files = [
"/etc/machine-id"

View file

@ -39,13 +39,4 @@
{url = "http://127.0.0.1:${toString config.services.wiki-js.settings.port}";}
];
};
environment.persistence."/persist" = {
directories = [
{
directory = "/var/lib/private";
mode = "0700";
}
];
};
}