From f26ed62c0b7ccc5772b28924ed406cfa29b2a935 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 21 Feb 2023 12:58:10 -0800 Subject: 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'. --- home/pass/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'home/pass') 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; [ -- cgit 1.4.1