1
Fork 0
satellite/home/features/cli/pass.nix
Matei Adriel 0047769696
Backup:)
2023-07-30 02:22:25 +03:00

22 lines
499 B
Nix

{ 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
];
programs.browserpass.enable = config.programs.firefox.enable;
satellite.persistence.at.data.apps.pass.directories = [ storePath ];
}