nixos-config/user/pass.nix

26 lines
601 B
Nix
Raw Permalink Normal View History

2022-11-07 19:35:50 -03:00
{ config, pkgs, lib, inputs, ... }: {
config = {
2023-08-07 19:58:05 -03:00
programs.password-store = {
enable = true;
package = pkgs.pass.withExtensions (ex: with ex; [
pass-otp
]);
};
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 = {
uri = "git@git.disroot.org:lelgenio/password-store";
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
];
2022-11-07 19:35:50 -03:00
};
}