2024-05-30 16:54:58 -03:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
2022-11-07 19:35:50 -03:00
|
|
|
config = {
|
2023-08-07 19:58:05 -03:00
|
|
|
programs.password-store = {
|
|
|
|
enable = true;
|
2024-05-30 16:54:58 -03:00
|
|
|
package = pkgs.pass.withExtensions (ex: with ex; [ pass-otp ]);
|
2023-08-07 19:58:05 -03:00
|
|
|
};
|
2022-11-07 19:35:50 -03:00
|
|
|
services = {
|
|
|
|
pass-secret-service.enable = true;
|
2023-11-26 15:40:18 -03:00
|
|
|
git-sync = {
|
|
|
|
enable = true;
|
|
|
|
repositories.password-store = {
|
2024-04-07 02:48:07 -03:00
|
|
|
uri = "forgejo@lelgenio.xyz:lelgenio/password-store";
|
2023-11-26 15:40:18 -03:00
|
|
|
path = toString config.programs.password-store.settings.PASSWORD_STORE_DIR;
|
|
|
|
};
|
|
|
|
};
|
2022-11-07 19:35:50 -03:00
|
|
|
};
|
2023-11-27 15:45:03 -03:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
wpass
|
|
|
|
_gpg-unlock
|
|
|
|
qtpass
|
2024-03-27 12:40:22 -03:00
|
|
|
readQrCode
|
2024-07-28 00:39:20 -03:00
|
|
|
pass-export
|
2023-11-27 15:45:03 -03:00
|
|
|
];
|
2022-11-07 19:35:50 -03:00
|
|
|
};
|
|
|
|
}
|