machines: porthos: services: enable lohr

This commit is contained in:
Bruno BELANYI 2021-03-30 21:30:37 +00:00
parent 3402146298
commit ff975b8c7d
3 changed files with 11 additions and 0 deletions

View file

@ -45,6 +45,15 @@ in
}; };
# Jellyfin media server # Jellyfin media server
jellyfin.enable = true; jellyfin.enable = true;
# Gitea mirrorig service
lohr = {
enable = true;
sharedSecretFile =
let
content = "LOHR_SECRET=${my.secrets.lohr.secret}";
in
builtins.toFile "lohr-secret.env" content;
};
# Matrix backend and Element chat front-end # Matrix backend and Element chat front-end
matrix = { matrix = {
enable = true; enable = true;

View file

@ -30,6 +30,8 @@ else {
}; };
}; };
lohr.secret = fileContents ./lohr/secret.txt;
matrix.secret = fileContents ./matrix/secret.txt; matrix.secret = fileContents ./matrix/secret.txt;
miniflux.password = fileContents ./miniflux/password.txt; miniflux.password = fileContents ./miniflux/password.txt;

BIN
secrets/lohr/secret.txt Normal file

Binary file not shown.