helm/modules/shell/pass.nix
2019-08-06 13:56:54 -04:00

16 lines
322 B
Nix

{ 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";
};
}