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