1
Fork 0
nixos-system-config/hosts/workstation/persist.nix
2024-08-29 00:06:48 +02:00

23 lines
420 B
Nix

{ ... }:
{
environment.persistence."/nix/persist" = {
hideMounts = true;
directories = [
"/var/log"
"/var/lib/nixos"
"/var/lib/systemd/coredump"
{
directory = "/var/lib/colord";
user = "colord";
group = "colord";
mode = "u=rwx,g=rx,o=";
}
"/etc/NetworkManager/system-connections"
];
files = [
"/etc/machine-id"
];
};
}