fix bug in the mastodon module

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-25 19:09:22 +01:00
parent 7255260d43
commit b4f88658e4
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ config, lib, ... }:
let
sopsConfig = {
owner = "mastodon";
@ -70,4 +70,5 @@ in
databases = 1;
port = 6379;
};
users.users.mastodon.home = lib.mkForce (toString config.services.mastodon.package);
}

View file

@ -1,4 +1,4 @@
{ ... }: {
{ config, ... }: {
services.nginx.virtualHosts."hydra.chir.rs" = {
sslCertificate = "/var/lib/acme/chir.rs/cert.pem";
sslCertificateKey = "/var/lib/acme/chir.rs/key.pem";