nix-config/modules/home-manager/terminal/pass.nix

18 lines
290 B
Nix

{
config,
pkgs,
lib,
...
}: {
programs.password-store = {
enable = true;
settings={
PASSWORD_STORE_DIR = "$HOME/keys/password-store";
};
};
programs.nushell.extraEnv = ''
$env.PASSWORD_STORE_DIR = ($env.HOME | path join "keys" "password-store")
'';
}