Skip to content

Commit e1996d7

Browse files
committed
nixos/public-inbox: bind key and cert paths
Otherwise, these can't be accessed by the service.
1 parent eb00bbc commit e1996d7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nixos/modules/services/mail/public-inbox.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ let
8181
"${config.i18n.glibcLocales}"
8282
]
8383
++ mapAttrsToList (name: inbox: inbox.description) cfg.inboxes
84+
++ filter (x: x != null) [
85+
cfg.${proto}.cert or null
86+
cfg.${proto}.key or null
87+
]
8488
++
8589
# Without confinement the whole Nix store
8690
# is made available to the service

0 commit comments

Comments
 (0)