update coop-ofd; add cerspotter to impermanence

This commit is contained in:
chayleaf 2023-12-22 23:19:42 +07:00
parent bb80b9811a
commit e9122a4e7f
Signed by: chayleaf
GPG key ID: 78171AD46227E68E
2 changed files with 5 additions and 3 deletions

View file

@ -25,11 +25,11 @@
]
},
"locked": {
"lastModified": 1703247585,
"narHash": "sha256-EHtgF4H68e7Ft1+ICiInUmEfBIfKW7tLHAapp868WHQ=",
"lastModified": 1703252072,
"narHash": "sha256-IY/0CeFhaKMBcNUmGXwsPazeKu2rGqCa4IHXSmHy5u0=",
"owner": "chayleaf",
"repo": "coop-ofd",
"rev": "02ce0fe10c22de27d02aff22f926bd26ee60c0ab",
"rev": "c18e676934884181ad8687e069d28db3c7d1cdfb",
"type": "github"
},
"original": {

View file

@ -74,6 +74,8 @@ in {
] ++ lib.optionals config.programs.ccache.enable [
{ directory = config.programs.ccache.cacheDir; user = "root"; group = "nixbld"; mode = "0770"; }
{ directory = /var/cache/sccache; user = "root"; group = "nixbld"; mode = "0770"; }
] ++ lib.optionals config.services.certspotter.enable [
{ directory = /var/lib/certspotter; user = "certspotter"; group = "certspotter"; mode = "0755"; }
] ++ lib.optionals (config.services.coop-ofd.enable or false) [
{ directory = /var/lib/private/coop-ofd; mode = "0750"; }
] ++ lib.optionals config.services.dovecot2.enable [