persist /var/private globally
This commit is contained in:
parent
d348fb8032
commit
2e37cefe3e
|
@ -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"
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue