2024-11-02 17:19:40 -04:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
environment.persistence."/persist" = {
|
|
|
|
hideMounts = true;
|
|
|
|
directories = [
|
|
|
|
"/etc/nixos"
|
|
|
|
"/etc/secureboot"
|
2024-11-03 06:57:03 -05:00
|
|
|
"/var/lib/nixos"
|
2024-11-02 17:19:40 -04:00
|
|
|
];
|
|
|
|
files = [
|
|
|
|
"/etc/machine-id"
|
2024-11-19 13:20:34 -05:00
|
|
|
"/root/.gitconfig"
|
2024-11-02 17:19:40 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|