blob: 9abe21a6919463dd984b18c51a2879284594d38d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ config, lib, pkgs, ... }:
with lib; {
config.programs.password-store = mkIf (!config.home.isolation.active) {
enable = true;
package = pkgs.pass.withExtensions (exts: [
exts.pass-audit
exts.pass-genphrase
exts.pass-tomb
exts.pass-update
]);
settings = {
PASSWORD_STORE_DIR = "${config.home.homeDirectory}/pass";
PASSWORD_STORE_TOMB_KEY = "${config.home.homeDirectory}/tomb/pass.key.gpg";
PASSWORD_STORE_TOMB_FILE = "${config.home.homeDirectory}/tomb/pass.tomb";
};
};
}
|