06db871bd7
* Make sterni.lv declarative * Disable gopher server * Disable likely-music.sterni.lv for now * Don't give systemd too much leeway with scheduling git syncs Change-Id: Ie8507d96f2df76ad8e393b2181ed7378c37829d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10480 Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
36 lines
705 B
Nix
36 lines
705 B
Nix
{ depot, lib, config, ... }:
|
|
|
|
let
|
|
inherit (depot.users.sterni.external.flipdot-gschichtler)
|
|
bahnhofshalle
|
|
warteraum
|
|
nixosModule
|
|
;
|
|
in
|
|
|
|
{
|
|
imports = [
|
|
nixosModule
|
|
./nginx.nix
|
|
];
|
|
|
|
config = {
|
|
age.secrets = lib.genAttrs [
|
|
"warteraum-salt"
|
|
"warteraum-tokens"
|
|
]
|
|
(name: {
|
|
file = depot.users.sterni.secrets."${name}.age";
|
|
});
|
|
|
|
services.flipdot-gschichtler = {
|
|
enable = true;
|
|
virtualHost = "flipdot.openlab-augsburg.de";
|
|
packages = {
|
|
inherit bahnhofshalle warteraum;
|
|
};
|
|
saltFile = config.age.secretsDir + "/warteraum-salt";
|
|
tokensFile = config.age.secretsDir + "/warteraum-tokens";
|
|
};
|
|
};
|
|
}
|