feat: add forgejo
Some checks failed
CI / fmt (push) Failing after 1m22s
CI / check (push) Failing after 2s

This commit is contained in:
Nickolaj Jepsen 2026-01-22 00:00:45 +01:00
parent ff8b5b4f7b
commit d43fb3016d
14 changed files with 111 additions and 1 deletions

View file

@ -17,6 +17,11 @@ in {
mode = "0600";
owner = username;
};
age.secrets.forgejo-ssh-key = {
rekeyFile = ../../secrets/forgejo-ssh-key.age;
mode = "0600";
owner = username;
};
age.secrets.ssh-key-ao = lib.mkIf workEnabled {
rekeyFile = ../../secrets/ssh-key-ao.age;
mode = "0600";
@ -40,6 +45,11 @@ in {
hostname = "x.nickolaj.com";
user = "nickolaj";
};
"forgejo.nickolaj.com" = {
hostname = "forgejo.nickolaj.com";
user = "git";
identityFile = "${config.age.secrets.forgejo-ssh-key.path}";
};
}
// lib.optionalAttrs workEnabled {
# Work hostnames definded in ./networking.nix