diff options
Diffstat (limited to 'modules/private/websites/tools/mastodon/default.nix')
-rw-r--r-- | modules/private/websites/tools/mastodon/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/private/websites/tools/mastodon/default.nix b/modules/private/websites/tools/mastodon/default.nix index cea8710..87e8d72 100644 --- a/modules/private/websites/tools/mastodon/default.nix +++ b/modules/private/websites/tools/mastodon/default.nix | |||
@@ -13,8 +13,7 @@ in { | |||
13 | services.duplyBackup.profiles.mastodon = { | 13 | services.duplyBackup.profiles.mastodon = { |
14 | rootDir = mcfg.dataDir; | 14 | rootDir = mcfg.dataDir; |
15 | }; | 15 | }; |
16 | secrets.keys = [{ | 16 | secrets.keys."webapps/tools-mastodon" = { |
17 | dest = "webapps/tools-mastodon"; | ||
18 | user = "mastodon"; | 17 | user = "mastodon"; |
19 | group = "mastodon"; | 18 | group = "mastodon"; |
20 | permissions = "0400"; | 19 | permissions = "0400"; |
@@ -59,7 +58,7 @@ in { | |||
59 | LDAP_UID="uid" | 58 | LDAP_UID="uid" |
60 | LDAP_SEARCH_FILTER="${env.ldap.filter}" | 59 | LDAP_SEARCH_FILTER="${env.ldap.filter}" |
61 | ''; | 60 | ''; |
62 | }]; | 61 | }; |
63 | services.mastodon = { | 62 | services.mastodon = { |
64 | enable = true; | 63 | enable = true; |
65 | configFile = config.secrets.fullPaths."webapps/tools-mastodon"; | 64 | configFile = config.secrets.fullPaths."webapps/tools-mastodon"; |