nixos: never commit the staged host key

An install reads the server's SSH host key from nixos/extra/, and that
key also decrypts the server's secrets. Ignore the directory, along
with nix build result links.

Assisted-by: Claude:fable-5-2
This commit is contained in:
Sergei Poljanski 2026-11-12 17:02:56 +04:00
commit f77132133b
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

4
nixos/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
# Host private keys staged for an install (see README); never commit
/extra/
result
result-*