basic pass config
This commit is contained in:
parent
646e68f1d2
commit
61a03c40d4
7 changed files with 46 additions and 3 deletions
home/features/cli
|
@ -8,7 +8,6 @@
|
|||
./starship.nix
|
||||
./direnv.nix
|
||||
./fish
|
||||
./tmux
|
||||
];
|
||||
|
||||
# Enable bash
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{ pkgs, config, ... }:
|
||||
let
|
||||
pinentry =
|
||||
# if config.gtk.enable then {
|
||||
if false then {
|
||||
if config.gtk.enable then {
|
||||
packages = [ pkgs.pinentry-gnome pkgs.gcr ];
|
||||
name = "gnome3";
|
||||
} else {
|
||||
|
|
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