home/pass: add pass-audit extension
This commit is contained in:
parent
e0b741bf65
commit
0b0cef5fc9
1 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,10 @@ with lib;
|
||||||
let
|
let
|
||||||
cfg = config.progs.pass;
|
cfg = config.progs.pass;
|
||||||
passDataDir = "${config.xdg.dataHome}/pass";
|
passDataDir = "${config.xdg.dataHome}/pass";
|
||||||
|
|
||||||
|
myPassPackage = pkgs.pass-minimal.withExtensions (ext: [
|
||||||
|
ext.pass-audit
|
||||||
|
]);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.progs.pass = {
|
options.progs.pass = {
|
||||||
|
@ -18,7 +22,7 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.password-store = {
|
programs.password-store = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.pass-minimal;
|
package = myPassPackage;
|
||||||
settings = {
|
settings = {
|
||||||
PASSWORD_STORE_DIR = "${passDataDir}/store";
|
PASSWORD_STORE_DIR = "${passDataDir}/store";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue