diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-16 17:40:07 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-16 20:20:45 +0200 |
commit | 4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0 (patch) | |
tree | 9a7ede9ac3f1899074e9ef568a447f883191d3b5 /modules/private/websites/tools/mgoblin | |
parent | da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2 (diff) | |
download | Nix-4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0.tar.gz Nix-4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0.tar.zst Nix-4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0.zip |
Use attrs for secrets instead of lists
Diffstat (limited to 'modules/private/websites/tools/mgoblin')
-rw-r--r-- | modules/private/websites/tools/mgoblin/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/private/websites/tools/mgoblin/default.nix b/modules/private/websites/tools/mgoblin/default.nix index 6d6a5a4..f6cba4a 100644 --- a/modules/private/websites/tools/mgoblin/default.nix +++ b/modules/private/websites/tools/mgoblin/default.nix | |||
@@ -12,8 +12,7 @@ in { | |||
12 | services.duplyBackup.profiles.mgoblin = { | 12 | services.duplyBackup.profiles.mgoblin = { |
13 | rootDir = mcfg.dataDir; | 13 | rootDir = mcfg.dataDir; |
14 | }; | 14 | }; |
15 | secrets.keys = [{ | 15 | secrets.keys."webapps/tools-mediagoblin" = { |
16 | dest = "webapps/tools-mediagoblin"; | ||
17 | user = "mediagoblin"; | 16 | user = "mediagoblin"; |
18 | group = "mediagoblin"; | 17 | group = "mediagoblin"; |
19 | permissions = "0400"; | 18 | permissions = "0400"; |
@@ -77,7 +76,7 @@ in { | |||
77 | [[mediagoblin.media_types.image]] | 76 | [[mediagoblin.media_types.image]] |
78 | [[mediagoblin.media_types.video]] | 77 | [[mediagoblin.media_types.video]] |
79 | ''; | 78 | ''; |
80 | }]; | 79 | }; |
81 | 80 | ||
82 | users.users.mediagoblin.extraGroups = [ "keys" ]; | 81 | users.users.mediagoblin.extraGroups = [ "keys" ]; |
83 | 82 | ||