From e9122a4e7f4549eb85579d9ba3a75c360fc3d2cb Mon Sep 17 00:00:00 2001 From: chayleaf Date: Fri, 22 Dec 2023 23:19:42 +0700 Subject: [PATCH] update coop-ofd; add cerspotter to impermanence --- flake.lock | 6 +++--- system/modules/impermanence.nix | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 5ac22f5..177dae5 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/system/modules/impermanence.nix b/system/modules/impermanence.nix index aa12777..f375c86 100644 --- a/system/modules/impermanence.nix +++ b/system/modules/impermanence.nix @@ -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 [