Skip to content

Commit f7e369e

Browse files
committed
made sops-install-secrets deployable on build node
Based on nix-community/home-manager#4907.
1 parent 49a87c6 commit f7e369e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/home-manager/sops.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
let
44
cfg = config.sops;
5-
sops-install-secrets = (pkgs.callPackage ../.. {}).sops-install-secrets;
5+
activationPackageSet = config.home.activationPackageSet or pkgs;
6+
sops-install-secrets = (activationPackageSet.callPackage ../.. {}).sops-install-secrets;
67
secretType = lib.types.submodule ({ config, name, ... }: {
78
options = {
89
name = lib.mkOption {

0 commit comments

Comments
 (0)