mjm.forgejo.enable = true;
diglett hosts my Git forge which uses Forgejo. It seems like the least bad self-hosted forge currently. I ran GitLab for a while but eventually found it to be too heavy.
microvm.vcpu = 4; microvm.mem = 2048;
Resource usage for diglett is usually pretty light but it can occasionally be hit with memory or CPU spikes. I want it to always feel pretty responsive, so I give it what it needs.
#| id: host-config mjm.deploy.rebootAutomatically = false;
Because it runs the Git force, it's important that diglett's host doesn't get rebooted automatically during a deploy. Otherwise, the deploy process gets interrupted because Forgejo was down for too long during an action run.
#| file: hosts/apollo/diglett.nix
{
microvm.vms.diglett = {
config = {
<<config>>
mjm.profiles.microvm = {
enable = true;
macAddress = "02:7E:FC:E3:61:84";
machineId = "19479730eba8a4a3f004f1e568ea9b7e";
group = "early";
};
microvm.vsock.cid = 150;
system.stateVersion = "25.11";
};
};
<<host-config>>
_class = "nixos";
}text/gemini;lang=en-USThis content has been proxied by September (UNKNO).