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

20 lines
327 B
Nix
Raw Normal View History

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