about summary refs log tree commit diff stats
path: root/hm/soispha/conf/gpg
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soispha/conf/gpg')
-rw-r--r--hm/soispha/conf/gpg/default.nix9
1 files changed, 6 insertions, 3 deletions
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
     ];
   };