create passwordstore module
This commit is contained in:
parent
73dd4a55de
commit
0cd3802686
|
@ -8,7 +8,7 @@ in {
|
||||||
set -g __accent_color "${accent.color}"
|
set -g __accent_color "${accent.color}"
|
||||||
alias _fish_prompt_accent "_fish_prompt_color '$__accent_color'"
|
alias _fish_prompt_accent "_fish_prompt_color '$__accent_color'"
|
||||||
set_color red
|
set_color red
|
||||||
if not test -d "$HOME/.password-store/"
|
if not test -d "$PASSWORD_STORE_DIR"
|
||||||
echo "Password Store not yet setup"
|
echo "Password Store not yet setup"
|
||||||
end
|
end
|
||||||
if not test -f "$HOME/.ssh/id_rsa"
|
if not test -f "$HOME/.ssh/id_rsa"
|
||||||
|
|
|
@ -23,6 +23,7 @@ in {
|
||||||
./bmenu.nix
|
./bmenu.nix
|
||||||
./fzf.nix
|
./fzf.nix
|
||||||
./ranger
|
./ranger
|
||||||
|
./pass.nix
|
||||||
inputs.hyprland.homeManagerModules.default
|
inputs.hyprland.homeManagerModules.default
|
||||||
] ++ lib.optional (desktop == "sway") ./sway.nix;
|
] ++ lib.optional (desktop == "sway") ./sway.nix;
|
||||||
|
|
||||||
|
@ -56,15 +57,11 @@ in {
|
||||||
ripgrep
|
ripgrep
|
||||||
translate-shell
|
translate-shell
|
||||||
|
|
||||||
(xfce.thunar.override { thunarPlugins = with pkgs.xfce; [
|
(xfce.thunar.override {
|
||||||
thunar-volman
|
thunarPlugins = with pkgs.xfce; [ thunar-volman thunar-archive-plugin ];
|
||||||
thunar-archive-plugin
|
})
|
||||||
];})
|
|
||||||
mate.engrampa
|
mate.engrampa
|
||||||
# gnome.nautilus
|
# gnome.nautilus
|
||||||
pass
|
|
||||||
wpass
|
|
||||||
_gpg-unlock
|
|
||||||
|
|
||||||
## games
|
## games
|
||||||
# lutris-unwrapped
|
# lutris-unwrapped
|
||||||
|
|
14
user/pass.nix
Normal file
14
user/pass.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue