1
Fork 0
nixos-system-config/systems/persist/common.nix

19 lines
294 B
Nix
Raw Normal View History

2023-06-24 20:56:54 +02:00
{ impermanence, ... }:
{
imports = [
impermanence.nixosModules.impermanence
];
2023-07-01 15:08:00 +02:00
environment.persistence."/nix/persist" = {
2023-06-24 20:56:54 +02:00
directories = [
"/etc/ssh"
"/var/lib"
];
files = [
"/etc/machine-id"
];
};
}