From f5103ac3d9906a94737ea0ae879f6bb2a70195ab Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 18 Feb 2022 09:25:35 -0800 Subject: pass: minor adjustments --- users/fcuny/desktop/trust/pass.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'users/fcuny/desktop/trust/pass.nix') 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 = { -- cgit 1.4.1