feat(systems/nemesis): persist machine identifiers

This commit is contained in:
Mohammad Rafiq 2025-05-18 23:21:18 +08:00
parent cbd59b8d35
commit 4c86a5b29a
No known key found for this signature in database

View file

@ -21,5 +21,18 @@ refresh-rate = "144";
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}
fileSystems."/persist".neededForBoot = true;
environment.persistence."/persist" = {
hideMounts = true;
directories = [
"/var/lib/systemd"
];
files = [
"/etc/ssh/ssh_host_ed25519_key"
"/etc/ssh/ssh_host_ed25519_key_pub"
"/etc/machine-id"
];
};
}