1
Fork 0

basic pass config

This commit is contained in:
Matei Adriel 2023-07-22 18:22:54 +03:00
parent 646e68f1d2
commit 61a03c40d4
No known key found for this signature in database
7 changed files with 46 additions and 3 deletions
home/features/cli

View file

@ -0,0 +1,21 @@
{ pkgs, config, lib, ... }:
let storePath = "${config.home.homeDirectory}/.password-store";
in
{
programs.password-store = {
enable = true;
settings.PASSWORD_STORE_DIR = storePath;
package = pkgs.pass;
};
services.pass-secret-service = {
inherit storePath;
enable = true;
};
home.packages = lib.mkIf config.programs.wofi.enable [
pkgs.wofi-pass
];
satellite.persistence.at.data.apps.pass.directories = [ storePath ];
}