basic pass config
This commit is contained in:
parent
646e68f1d2
commit
61a03c40d4
7 changed files with 46 additions and 3 deletions
home/features/cli
21
home/features/cli/pass.nix
Normal file
21
home/features/cli/pass.nix
Normal 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 ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue