diff options
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/desktop/trust/pass.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/users/fcuny/desktop/trust/pass.nix b/users/fcuny/desktop/trust/pass.nix index 9268c76..d9c9010 100644 --- a/users/fcuny/desktop/trust/pass.nix +++ b/users/fcuny/desktop/trust/pass.nix @@ -1,10 +1,15 @@ { pkgs, config, ... }: { - programs.password-store.enable = true; - - programs.password-store.settings.PASSWORD_STORE_DIR = - "${config.xdg.dataHome}/password-store"; + programs.password-store = { + enable = true; + settings = { + PASSWORD_STORE_DIR = "${config.xdg.dataHome}/password-store"; + PASSWORD_STORE_GENERATED_LENGTH = "30"; + PASSWORD_STORE_CHARACTER_SET = "a-zA-Z0-9~!@#$%^&*()-_=+[]{};:,.<>?"; + PASSWORD_STORE_KEY = config.programs.gpg.settings.default-key; + }; + }; systemd.user.services.git-password-store = { Unit = { |