nerf/impermanence #13

Merged
nerf merged 6 commits from nerf/nixConfig:nerf/impermanence into main 2023-10-06 08:08:50 +00:00
Showing only changes of commit 4404d74416 - Show all commits

View file

@ -32,9 +32,14 @@ config = mkIf cfg.enable {
persistentStoragePath = cfg.storagePath;
directories = [
"/var/log"
"/etc/ssh"
"/var/lib/nixos"
];
files = [
"/etc/ssh/ssh_host_ed25519_key"
"/etc/ssh/ssh_host_ed25519_key.pub"
"/etc/ssh/ssh_host_rsa_key"
"/etc/ssh/ssh_host_rsa_key.pub"
];
};
environment.etc.machine-id.source = "${cfg.storagePath}/machine-id";
};