Juri, add forgejo server with admin account

This commit is contained in:
Julia Lange 2025-03-24 12:36:15 -07:00
parent 2c2c711dd9
commit 4b708b5fb3
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ
2 changed files with 21 additions and 2 deletions

View file

@ -15,6 +15,9 @@ in {
sopsFile = ./secrets.yaml;
secrets = {
pdsEnv = {};
forgejoPassword = {
owner = "forgejo";
};
};
};
@ -28,6 +31,11 @@ in {
'';
serverAliases = [ "*.juri.woach.me" ];
};
"winry.woach.me" = {
extraConfig = ''
reverse_proxy :${builtins.toString config.forgejo.server.port}
'';
};
};
};
@ -38,6 +46,16 @@ in {
environmentFile = config.sops.secrets.pdsEnv.path;
};
forgejo = {
enable = true;
server.domain = "winry.woach.me";
users.admin = {
enable = true;
username = "Julia";
passwordFile = config.sops.secrets.forgejoPassword.path;
};
};
shell.enabledShells = [ "fish" ];
shell.defaultShell = "fish";