diff --git a/config/services/mastodon.nix b/config/services/mastodon.nix index dd45d70f..63d933aa 100644 --- a/config/services/mastodon.nix +++ b/config/services/mastodon.nix @@ -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); } diff --git a/config/services/reverse-proxy.nix b/config/services/reverse-proxy.nix index 9755dba3..c1b37318 100644 --- a/config/services/reverse-proxy.nix +++ b/config/services/reverse-proxy.nix @@ -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";