Use home-manager’s password-store module
This commit is contained in:
parent
1bc6988225
commit
076ec0b321
|
@ -9,6 +9,7 @@
|
||||||
./mpd.nix
|
./mpd.nix
|
||||||
./mpv.nix
|
./mpv.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
|
./pass.nix
|
||||||
./programs.nix
|
./programs.nix
|
||||||
./scripts.nix
|
./scripts.nix
|
||||||
./sway.nix
|
./sway.nix
|
||||||
|
|
13
users/simon/modules/pass.nix
Normal file
13
users/simon/modules/pass.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.password-store = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.pass-wayland.withExtensions (es: with es; [
|
||||||
|
pass-otp
|
||||||
|
pass-update
|
||||||
|
]);
|
||||||
|
settings = {
|
||||||
|
PASSWORD_STORE_DIR = "$HOME/.password-store";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -80,7 +80,6 @@
|
||||||
taskwarrior # todo list manager
|
taskwarrior # todo list manager
|
||||||
|
|
||||||
# passwords
|
# passwords
|
||||||
(pass-wayland.withExtensions (es: with es; [ pass-otp ])) # password manager
|
|
||||||
pwgen
|
pwgen
|
||||||
pwgen-secure # password generator
|
pwgen-secure # password generator
|
||||||
xkcdpass # memorable password generator
|
xkcdpass # memorable password generator
|
||||||
|
|
Loading…
Reference in a new issue