From 3f670b25133e929d8a6be2aff6ae648ee18f81a2 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 18 Jul 2022 17:33:26 -0700 Subject: feat(modules/gerrit): manage secure configuration with nix Currently the secure configuration for gerrit is not managed by nix. This is likely going to break in the future and I'll hate myself for that. Let's move it into nix and encrypt it with age, like we do for other secrets. Change-Id: Ia7a006748a3ad64fa4b97ca9e8cbd98c99433982 Reviewed-on: https://cl.fcuny.net/c/world/+/622 Tested-by: CI Reviewed-by: Franck Cuny --- modules/services/gerrit/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix index 9ae9e50..1592839 100644 --- a/modules/services/gerrit/default.nix +++ b/modules/services/gerrit/default.nix @@ -1,6 +1,7 @@ { config, pkgs, lib, ... }: let cfg = config.my.services.gerrit; + secrets = config.age.secrets; my-gerrit-hook = name: pkgs.writeShellScript "my-gerrit-hook" '' -- cgit 1.4.1