Skip to content

Commit 162d5f7

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/home-manager/sops.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
{ config, lib, pkgs, ... }:
1+
{ config, lib, activationPkgs ? pkgs, pkgs, ... }:
22

33
let
44
cfg = config.sops;
5-
sops-install-secrets = (pkgs.callPackage ../.. {}).sops-install-secrets;
5+
sops-install-secrets = (activationPkgs.callPackage ../.. {}).sops-install-secrets;
66
secretType = lib.types.submodule ({ config, name, ... }: {
77
options = {
88
name = lib.mkOption {

0 commit comments

Comments
 (0)