From 8dd32042754f27ea9337ab4bd852f51fa79423de Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 31 Jul 2024 20:42:52 -0400 Subject: [PATCH] aly: add password-store (#71) * aly: add password-store with extensions * aly: add rofi-pass * aly: simplify rofi-pass config --- homes/aly/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/homes/aly/default.nix b/homes/aly/default.nix index 172a47dd..c2c2eacc 100644 --- a/homes/aly/default.nix +++ b/homes/aly/default.nix @@ -61,6 +61,28 @@ in { gitui.enable = true; home-manager.enable = true; + + password-store = { + enable = true; + + package = pkgs.pass.withExtensions (exts: + with exts; [ + pass-checkup + pass-file + pass-genphrase + pass-otp + pass-update + ]); + }; + + rofi.pass = { + enable = true; + package = pkgs.rofi-pass-wayland; + + extraConfig = '' + USERNAME_field='login' + ''; + }; }; systemd.user.startServices = "legacy"; # Needed for auto-mounting agenix secrets.