summaryrefslogtreecommitdiff
path: root/hosts/ahmed/git.linus.onl
AgeCommit message (Collapse)Author
2024-12-06fix: Update git patches for 2.47.0Linnnus
2024-09-28Run CGit as unpriveledged userLinnnus
2024-08-01chore ass formattingLinnnus
2024-07-31ahmed: Fix Git cloneLinnnus
CGit farms out the handling of the HTTP requests sent by the Git CLI to another CGI script. This script was failing because of "dubious ownership". This is a security check run by Git to ensure malicious repositories on network drives don't get arbitrary code execution. The problem is: the CGI script was running as root, as that is what the fcgiwrap systemd service was configured for, but the repository is owned by the 'git' user. Since I trust the repositories, I had to patch Git to ignore this mark. Actually getting the NixOS CGit module to use the patched version of Git proved rather difficult... In the future I should probably a) Make sure fcgiwrap isn't running as root since it directly interacts with all sorts of untrusted user input. b) Remove this ugly hack. There's a reason for the security check after all. Just because it matters _less_ in this case doesn't mean it's wise to ignore it completely.
2024-07-06ahmed: FormattingLinnnus
2024-05-09hosts/ahmed/git.linus.onl: Syntax highlight itemsLinnnus
2024-02-20Merge 'reorg' into 'main'Linnnus
This patch moves in the reorganizational work done on the reorg branch, mainly: * Move host-specific modules into hosts/<host>/<module> * Break up HM config See the reorg branch for the individual commits.