fix(nixos): Add warning about importing SSH keys

This bit me in the butt when trying to use this with gitea.
This commit is contained in:
Jalil David Salamé Messina 2024-01-31 21:17:59 +01:00
parent 65a30b5283
commit cf3b38a355
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -68,9 +68,14 @@ let
The format is `"$${github-username}" = $${sha256-hash}`. The example
will try to fetch the keys from <https://github.com/jalil-salame.keys>.
**Warning**: this will interfere with services like gitea that override
the default ssh behaviour. In that case you want to use
`users.users.<name>.openssh.authorizedKeys.keyFiles` on the users you
want to allow ssh logins.
'';
default = { };
example = { "jalil-salame" = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; };
example = { "jalil-salame" = "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; };
type = types.attrsOf types.str;
};
};