Fix forgejo

This commit is contained in:
Henry Hiles 2025-07-09 10:51:07 -04:00
commit 4a53253800
No known key found for this signature in database
4 changed files with 28 additions and 15 deletions

View file

@ -1,7 +1,11 @@
{
let
port = 2222;
in {
networking.firewall.allowedTCPPorts = [port];
users.users.quadradical.openssh.authorizedKeys.keys = import ../../secrets/keys.nix;
services.openssh = {
enable = true;
ports = [port];
settings = {
PasswordAuthentication = false;
AllowUsers = ["quadradical"];