From 162d5f73ed2783b432cc035218bde6b2bc3ff943 Mon Sep 17 00:00:00 2001 From: David Guibert Date: Mon, 15 Jan 2024 22:32:41 +0100 Subject: [PATCH] made sops-install-secrets deployable on build node Based on https://github.com/nix-community/home-manager/pull/4907. --- modules/home-manager/sops.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/sops.nix b/modules/home-manager/sops.nix index d62ff58f..43c083e5 100644 --- a/modules/home-manager/sops.nix +++ b/modules/home-manager/sops.nix @@ -1,8 +1,8 @@ -{ config, lib, pkgs, ... }: +{ config, lib, activationPkgs ? pkgs, pkgs, ... }: let cfg = config.sops; - sops-install-secrets = (pkgs.callPackage ../.. {}).sops-install-secrets; + sops-install-secrets = (activationPkgs.callPackage ../.. {}).sops-install-secrets; secretType = lib.types.submodule ({ config, name, ... }: { options = { name = lib.mkOption {