nixos-server: flake, hardware, readme bootstrap, server-quickstart, TODO

Made-with: Cursor
This commit is contained in:
DannyDannyDanny 2026-02-27 23:18:57 +01:00
parent c51bfaac1e
commit 84a065a3df
7 changed files with 153 additions and 11 deletions

View file

@ -36,6 +36,8 @@ users.users.danny.openssh.authorizedKeys.keys = [
];
```
To avoid committing keys (e.g. public repo): omit `openssh.authorizedKeys` and push keys via `scp ~/.ssh/*.pub danny@server:/tmp/` then on server: `cat /tmp/*.pub >> ~/.ssh/authorized_keys`.
Optional: `services.openssh.settings = { PasswordAuthentication = false; PermitRootLogin = "no"; };`
## 5. Apply and test