nixos-config/user/pass.nix

32 lines
615 B
Nix
Raw Normal View History

{
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;
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
2023-11-27 15:45:03 -03:00
];
2022-11-07 19:35:50 -03:00
};
}