about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-24 16:33:41 +0100
committerSoispha <soispha@vhack.eu>2024-03-24 16:37:14 +0100
commit9ce56f0d31299c27f6f22234b7904acd87412643 (patch)
tree27f6d12d8ea672fb6222bd4b7e8b83d1bf03754a /hm
parentrefactor(flake): Use an attrs for including open prs (diff)
downloadnixos-config-9ce56f0d31299c27f6f22234b7904acd87412643.zip
fix(hm/conf/gpg): Add my nixpkgs fork to ensure a working gpg-agent
Diffstat (limited to 'hm')
-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
     ];
   };