servo: fix gitea

This commit is contained in:
Colin 2024-05-30 12:12:06 +00:00
parent 7f5e12da8d
commit 84f2006115
2 changed files with 3 additions and 1 deletions

View File

@ -90,6 +90,8 @@
];
};
services.openssh.settings.UsePAM = true; #< required for `git` user to authenticate
# hosted git (web view and for `git <cmd>` use
# TODO: enable publog?
services.nginx.virtualHosts."git.uninsane.org" = {

View File

@ -25,7 +25,7 @@ in
enable = true;
settings.PermitRootLogin = "no";
settings.PasswordAuthentication = false;
settings.UsePAM = false; #< notably, disables systemd session tracking; incidentally disables pam_mount, etc.
settings.UsePAM = lib.mkDefault false; #< notably, disables systemd session tracking; incidentally disables pam_mount, etc.
};
sane.ports.ports."22" = {
protocol = [ "tcp" ];