oizys/hosts/algiz/default.nix
2025-02-11 17:43:39 -06:00

20 lines
377 B
Nix

{
enabled,
pkgs,
...
}:
{
oizys = {
rune.motd = enabled;
};
environment.systemPackages = with pkgs; [
(writeShellScriptBin "gitea" ''
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
'')
];
# git user handles the forgjo ssh authentication
users.users.git.isNormalUser = true;
}