1
Fork 0
nixos-system-config/systems/persist/common.nix
2023-07-01 15:08:00 +02:00

18 lines
294 B
Nix

{ impermanence, ... }:
{
imports = [
impermanence.nixosModules.impermanence
];
environment.persistence."/nix/persist" = {
directories = [
"/etc/ssh"
"/var/lib"
];
files = [
"/etc/machine-id"
];
};
}