2024-12-07 19:17:49 +05:30
|
|
|
_: let persistant-path = "/persist/system"; in {
|
2024-11-16 19:30:35 +05:30
|
|
|
environment = {
|
|
|
|
etc = {
|
|
|
|
"machine-id" = {
|
|
|
|
enable = true;
|
|
|
|
source = "${persistant-path}/machine-id";
|
|
|
|
mode = "symlink";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
persistence."${persistant-path}" = {
|
|
|
|
hideMounts = true;
|
|
|
|
directories = [
|
|
|
|
"/etc/systemd/nspawn"
|
|
|
|
"/root/.local/share/nix"
|
|
|
|
"/var/cache/fwupd"
|
|
|
|
"/var/lib/bluetooth"
|
|
|
|
"/var/lib/btrfs"
|
|
|
|
"/var/lib/fwupd"
|
|
|
|
"/var/lib/iwd"
|
|
|
|
"/var/lib/libvirt"
|
|
|
|
"/var/lib/machines"
|
|
|
|
"/var/lib/nixos"
|
|
|
|
"/var/lib/portables"
|
|
|
|
"/var/lib/systemd"
|
|
|
|
"/var/log"
|
|
|
|
];
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
}
|