2024-03-04 11:33:59 +01:00
|
|
|
# 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 ];
|
|
|
|
}
|