diff --git a/config-paths-needed.json b/config-paths-needed.json index 8e42753..cf0985d 100644 --- a/config-paths-needed.json +++ b/config-paths-needed.json @@ -1,5 +1,6 @@ [ [ "selfprivacy", "domain" ], + [ "selfprivacy", "username" ], [ "selfprivacy", "modules", "auth", "enable" ], [ "selfprivacy", "modules", "mastodon" ], [ "selfprivacy", "passthru", "auth" ], diff --git a/module.nix b/module.nix index aeec3d6..d33b22f 100644 --- a/module.nix +++ b/module.nix @@ -167,7 +167,7 @@ in POSTGRES_USER = db.user; POSTGRES_HOST = db.host; USERDATA_FILE_PATH = "/var/lib/mastodon/.userdata.json"; - OWNER_USERNAME = db.username; + OWNER_USERNAME = sp.username; }; serviceConfig = { Slice = "mastodon.slice";