mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Only ever use forgejo's ssh-keys for openssh
This commit is contained in:
parent
3926a6eeb9
commit
50f6bc35c0
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
config = lib.mkIf config.custom.services.forgejo.ssh.enable {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
authorizedKeysFiles = lib.mkForce [ "${config.services.forgejo.stateDir}/.ssh/authorized_keys" ];
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue