about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-18 09:25:35 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-18 09:25:35 -0800
commitf5103ac3d9906a94737ea0ae879f6bb2a70195ab (patch)
treecaada176f07fea37c314e8edf0b09095522ca1d6
parentmpd: only start mpd when needed (diff)
downloadworld-f5103ac3d9906a94737ea0ae879f6bb2a70195ab.tar.gz
pass: minor adjustments
Diffstat (limited to '')
-rw-r--r--users/fcuny/desktop/trust/pass.nix13
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 = {