1
Fork 0
nixos-system-config/hosts/workstation/persist.nix

24 lines
420 B
Nix
Raw Normal View History

2024-05-24 22:26:56 +02:00
{ ... }:
{
environment.persistence."/nix/persist" = {
2024-05-24 22:26:56 +02:00
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=";
}
2024-08-28 23:57:27 +02:00
"/etc/NetworkManager/system-connections"
];
files = [
"/etc/machine-id"
];
};
}
2024-05-24 22:26:56 +02:00