machines: porthos: services: enable lohr
This commit is contained in:
parent
3402146298
commit
ff975b8c7d
|
@ -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;
|
||||||
|
|
|
@ -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
BIN
secrets/lohr/secret.txt
Normal file
Binary file not shown.
Loading…
Reference in a new issue