From 168346e17ee290a7099cb3b9c0c4ad2e7c05d83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Tue, 4 Jan 2022 00:42:40 +0100 Subject: [PATCH] module: Expose manifests We are planning to use this in our CI pipeline --- modules/sops/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/sops/default.nix b/modules/sops/default.nix index aa87023..a27da40 100644 --- a/modules/sops/default.nix +++ b/modules/sops/default.nix @@ -311,5 +311,10 @@ in { fi ''); }; + + system.build = + (optionalAttrs (secretsForUsers != {}) { sops-nix-users-manifest = manifestForUsers; }) // + (optionalAttrs (regularSecrets != {}) { sops-nix-manifest = manifest; }); + }; }