This commit is contained in:
Lukas Wurzinger 2025-04-02 15:35:50 +00:00
parent 56cf213e8a
commit b7e93fc970
No known key found for this signature in database
2 changed files with 5 additions and 4 deletions
hosts/headless/abacus

View file

@ -3,7 +3,7 @@
lib,
...
}: let
virtualHostName = "tea.wrz.one";
virtualHostName = "forgejo.helveticanonstandard.net";
in {
age.secrets = lib.mkSecrets {
forgejo-mailer = {
@ -46,15 +46,15 @@ in {
USER = "lukas@wrz.one";
};
};
secrets.mailer.PASSWD = config.age.secrets.forgejo-mailer.path;
};
systemd.services.forgejo.preStart = let
forgejo = lib.getExe config.services.forgejo.package;
passwordFile = config.age.secrets.forgejo-admin.path;
# TODO
user = "lukas";
email = "lukas@wrz.one";
user = "helvetica";
email = "helvetica@helveticanonstandard.net";
in ''
if ! \
${forgejo} admin user change-password \

View file

@ -7,6 +7,7 @@ in {
Address = "localhost";
Port = 8050;
MusicFolder = "/srv/music";
EnableSharing = true;
};
};