nixos-server: flake, hardware, readme bootstrap, server-quickstart, TODO
Made-with: Cursor
This commit is contained in:
parent
c51bfaac1e
commit
84a065a3df
7 changed files with 153 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue