From 9ce56f0d31299c27f6f22234b7904acd87412643 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 24 Mar 2024 16:33:41 +0100 Subject: fix(hm/conf/gpg): Add my nixpkgs fork to ensure a working gpg-agent --- hm/default.nix | 2 ++ hm/soispha/conf/gpg/default.nix | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'hm') diff --git a/hm/default.nix b/hm/default.nix index 605c1fab..b0311261 100644 --- a/hm/default.nix +++ b/hm/default.nix @@ -1,6 +1,7 @@ { pkgs, sysLib, + nixpkgs_open_prs, # extra information system, # bins @@ -22,6 +23,7 @@ extraSpecialArgs = { inherit pkgs + nixpkgs_open_prs sysLib # extra information diff --git a/hm/soispha/conf/gpg/default.nix b/hm/soispha/conf/gpg/default.nix index 60c2ef2a..4926e55b 100644 --- a/hm/soispha/conf/gpg/default.nix +++ b/hm/soispha/conf/gpg/default.nix @@ -3,14 +3,17 @@ nixosConfig, sysLib, pkgs, + nixpkgs_open_prs, + system, ... }: let + pkgs_onlykey = nixpkgs_open_prs.nixpkgs-onlykey.legacyPackages."${system}"; agent-program = sysLib.writeShellScript { name = "onlykey-gpg-agent"; src = ./agent-program.sh; - dependencies = with pkgs; [ - python3 - onlykey-agent + dependencies = [ + pkgs.python3 + pkgs_onlykey.onlykey-agent ]; }; -- cgit 1.4.1