nix-config/home/pass/default.nix

14 lines
349 B
Nix
Raw Normal View History

2022-01-18 09:32:55 +01:00
{ config, pkgs, ... }:
{
2022-07-12 10:46:51 +02:00
programs.password-store = {
2022-01-18 09:32:55 +01:00
enable = true;
2022-07-12 10:46:51 +02:00
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
settings = {
PASSWORD_STORE_DIR = "${config.home.homeDirectory}/.password-store";
PASSWORD_STORE_KEY = "B51D4548A4846E3C8D115C808333CFB0B9D3244D";
};
2022-01-18 09:32:55 +01:00
};
2022-07-12 10:46:51 +02:00
home.packages = [pkgs.zbar];
2022-01-18 09:32:55 +01:00
}