15 lines
220 B
Nix
15 lines
220 B
Nix
{ ... }:
|
|
{
|
|
environment.persistence."/persist" = {
|
|
hideMounts = true;
|
|
directories = [
|
|
"/etc/nixos"
|
|
"/etc/secureboot"
|
|
"/var/lib/nixos"
|
|
];
|
|
files = [
|
|
"/etc/machine-id"
|
|
];
|
|
};
|
|
}
|