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

20 lines
459 B
Nix
Raw Normal View History

# I use bitwarden as my main password manager.
#
# This currently acts as a simple local libsecret store.
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;
};
satellite.persistence.at.data.apps.pass.directories = [ storePath ];
}