1
Fork 0
satellite/home/features/cli/pass.nix

22 lines
499 B
Nix
Raw Normal View History

2023-07-22 17:22:54 +02:00
{ pkgs, config, lib, ... }:
let storePath = "${config.home.homeDirectory}/.password-store";
in
{
programs.password-store = {
enable = true;
settings.PASSWORD_STORE_DIR = storePath;
};
services.pass-secret-service = {
inherit storePath;
enable = true;
};
home.packages = lib.mkIf config.programs.wofi.enable [
pkgs.wofi-pass
];
2023-07-30 01:22:25 +02:00
programs.browserpass.enable = config.programs.firefox.enable;
2023-07-22 17:22:54 +02:00
satellite.persistence.at.data.apps.pass.directories = [ storePath ];
}