Juri, add forgejo server with admin account
This commit is contained in:
parent
2c2c711dd9
commit
4b708b5fb3
2 changed files with 21 additions and 2 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue