22 lines
499 B
Nix
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 ];
|
|
}
|