Files
nixos-config/home/features.old/cli/secrets.nix

23 lines
493 B
Nix
Raw Normal View History

2024-10-20 00:30:58 +02:00
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.features.cli.secrets;
in {
options.features.cli.secrets.enable = mkEnableOption "enable secrets";
config = mkIf cfg.enable {
programs.password-store = {
enable = true;
package =
pkgs.pass-wayland.withExtensions
(exts: [exts.pass-otp exts.pass-import]);
2026-03-28 10:17:29 +01:00
settings = {PASSWORD_STORE_DIR = "$XDG_DATA_HOME/password-store";};
2024-10-20 00:30:58 +02:00
};
2025-10-22 19:48:25 +02:00
home.packages = with pkgs; [pinentry-gnome3];
2024-10-20 00:30:58 +02:00
};
}