From 0ac1609e7e8683158d24ae1cc0d31dff3821c913 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 14 Sep 2021 13:24:48 -0400 Subject: [PATCH] feat: add password-store configuration --- users/profiles/pass.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 users/profiles/pass.nix diff --git a/users/profiles/pass.nix b/users/profiles/pass.nix new file mode 100644 index 0000000..25b8390 --- /dev/null +++ b/users/profiles/pass.nix @@ -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; +}