helm/modules/shell/pass.nix

16 lines
322 B
Nix
Raw Normal View History

2019-08-06 10:56:54 -07:00
{ config, pkgs, lib, ... }:
{
environment = {
systemPackages = with pkgs; [
(pass.withExtensions (exts: [
exts.pass-otp
exts.pass-genphrase
]))
(lib.mkIf (config.services.xserver.enable) rofi-pass)
];
variables.PASSWORD_STORE_DIR = "$HOME/.secrets/password-store";
};
}