create passwordstore module

This commit is contained in:
Leonardo Eugênio 2022-11-07 19:35:50 -03:00
parent 73dd4a55de
commit 0cd3802686
3 changed files with 19 additions and 8 deletions

View File

@ -8,7 +8,7 @@ in {
set -g __accent_color "${accent.color}"
alias _fish_prompt_accent "_fish_prompt_color '$__accent_color'"
set_color red
if not test -d "$HOME/.password-store/"
if not test -d "$PASSWORD_STORE_DIR"
echo "Password Store not yet setup"
end
if not test -f "$HOME/.ssh/id_rsa"

View File

@ -23,6 +23,7 @@ in {
./bmenu.nix
./fzf.nix
./ranger
./pass.nix
inputs.hyprland.homeManagerModules.default
] ++ lib.optional (desktop == "sway") ./sway.nix;
@ -56,15 +57,11 @@ in {
ripgrep
translate-shell
(xfce.thunar.override { thunarPlugins = with pkgs.xfce; [
thunar-volman
thunar-archive-plugin
];})
(xfce.thunar.override {
thunarPlugins = with pkgs.xfce; [ thunar-volman thunar-archive-plugin ];
})
mate.engrampa
# gnome.nautilus
pass
wpass
_gpg-unlock
## games
# lutris-unwrapped

14
user/pass.nix Normal file
View File

@ -0,0 +1,14 @@
{ config, pkgs, lib, inputs, ... }: {
config = {
programs.password-store.enable = true;
services = {
pass-secret-service.enable = true;
password-store-sync.enable = true;
};
home.packages = with pkgs; [
pass
wpass
_gpg-unlock
];
};
}