about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-02-21 12:58:10 -0800
committerFranck Cuny <franck@fcuny.net>2023-02-21 17:54:31 -0800
commitf26ed62c0b7ccc5772b28924ed406cfa29b2a935 (patch)
treeb5d6e9cbb4764fdcdaee316dff989b412a7db7cd /home
parentfix(home/git): simplify gitignore configuration (diff)
downloadworld-f26ed62c0b7ccc5772b28924ed406cfa29b2a935.tar.gz
fix(home/age): use `rage' for `passage'
The current version of age shipped by nixos does not support the keys
generated by `age-plugin-yubikey'.
Diffstat (limited to '')
-rw-r--r--home/pass/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/pass/default.nix b/home/pass/default.nix
index c1994f8..73082e3 100644
--- a/home/pass/default.nix
+++ b/home/pass/default.nix
@@ -19,6 +19,10 @@ in
 
     home.sessionVariables = {
       PASSAGE_DIR = "${config.xdg.dataHome}/passage/store";
+      # for now I have to default to rage, as the version of age is
+      # not recent enough to work with keys generated by
+      # age-plugin-yubikey
+      PASSAGE_AGE = "${pkgs.rage}/bin/rage";
     };
 
     home.packages = with pkgs; [