nixos: zsh for every account, security summary on login, XMPP over IPv6
All checks were successful
nixos / nixos (push) Successful in 1m3s

Every account now logs in with zsh, including ones added later, except
deploy and git: the app CI and Forgejo run commands through their login
shells. root gets the same zsh with a red prompt ending in #.

Interactive SSH logins show, under fastfetch, the host's security state
as the Grafana alerts see it, read from the local metrics files:
anything unexpected (peers, devices, accounts, ports, containers),
who is logged in, the last good backup per repository, the bucket
replica, failed units and fail2ban bans.

XMPP gets a Podman network of its own with IPv6. xmpp.asxp.io has an
AAAA record, and Podman's default network forwards published ports over
IPv4 only, where Docker on Debian did both: since the conversion, XMPP
over IPv6 was refused. Tried on the rehearsal host with a published port
on the new network, reached over IPv6 and IPv4.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-17 07:28:36 +04:00
commit 72a14a1b1b
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -28,7 +28,8 @@ in
isSystemUser = true;
group = "git";
home = cfg.stateDir;
useDefaultShell = true;
# Forgejo's SSH commands run through it; not the zsh default
shell = pkgs.bashInteractive;
};
users.groups.git = { };
# Anyone may try a key against git; Forgejo decides what it may do