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:
parent
65a30b5283
commit
cf3b38a355
1 changed files with 6 additions and 1 deletions
|
@ -68,9 +68,14 @@ let
|
||||||
|
|
||||||
The format is `"$${github-username}" = $${sha256-hash}`. The example
|
The format is `"$${github-username}" = $${sha256-hash}`. The example
|
||||||
will try to fetch the keys from <https://github.com/jalil-salame.keys>.
|
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 = { };
|
default = { };
|
||||||
example = { "jalil-salame" = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; };
|
example = { "jalil-salame" = "sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"; };
|
||||||
type = types.attrsOf types.str;
|
type = types.attrsOf types.str;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue