1
Fork 0
nixos-system-config/hosts/workstation/persist.nix
caem 1ea937f884
Refactor: Initial step
- Added library for common functions
- Moved machines/ to hosts/
- Automise adding new hosts to the flake
2024-07-25 21:24:28 +02:00

22 lines
373 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=";
}
];
files = [
"/etc/machine-id"
];
};
}