feat: add password-store configuration

This commit is contained in:
Infinidoge 2021-09-14 13:24:48 -04:00
parent 9bef65b73c
commit 0ac1609e7e

14
users/profiles/pass.nix Normal file
View file

@ -0,0 +1,14 @@
{ pkgs, config, ... }: {
programs.password-store = {
enable = true;
package = pkgs.pass;
settings = {
PASSWORD_STORE_DIR = "${config.xdg.dataHome}/password-store";
PASSWORD_STORE_KEY = "2C0BB53DFA3BB79F64B0ADCAAA0E1F926FAF03C0"; # Named "Infinidoge (Master Password)"
PASSWORD_STORE_GENERATED_LENGTH = 20;
PASSWORD_STORE_CLIP_TIME = 60;
};
};
services.password-store-sync.enable = true;
}