oizys/hosts/algiz/default.nix

21 lines
377 B
Nix
Raw Normal View History

2024-08-11 08:29:46 -05:00
{
enabled,
2025-01-07 09:51:10 -06:00
pkgs,
2024-08-11 08:29:46 -05:00
...
}:
2024-01-23 11:51:13 -06:00
{
2024-12-12 16:38:33 -06:00
2024-03-19 08:56:51 -05:00
oizys = {
2024-05-06 15:30:10 -05:00
rune.motd = enabled;
2025-01-07 09:51:10 -06:00
};
environment.systemPackages = with pkgs; [
(writeShellScriptBin "gitea" ''
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
'')
];
2024-01-23 15:50:42 -06:00
2024-08-11 08:29:46 -05:00
# git user handles the forgjo ssh authentication
users.users.git.isNormalUser = true;
2024-01-23 11:51:13 -06:00
}