about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-10 19:43:47 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-10 19:43:47 -0800
commit381166f46cab1bb392d442e03006884c85c4b710 (patch)
treeed260900defa8364c2a26cbf73c36df0fc01f8d5
parentusers: more cleanup (diff)
downloadworld-381166f46cab1bb392d442e03006884c85c4b710.tar.gz
home-manager: install password-store
Diffstat (limited to '')
-rw-r--r--users/fcuny/default.nix1
-rw-r--r--users/fcuny/pass.nix8
2 files changed, 9 insertions, 0 deletions
diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix
index fce7d70..243b326 100644
--- a/users/fcuny/default.nix
+++ b/users/fcuny/default.nix
@@ -22,5 +22,6 @@
     ./tmux.nix
     ./zsh.nix
     ./desktop.nix
+    ./pass.nix
   ];
 }
diff --git a/users/fcuny/pass.nix b/users/fcuny/pass.nix
new file mode 100644
index 0000000..9f133b5
--- /dev/null
+++ b/users/fcuny/pass.nix
@@ -0,0 +1,8 @@
+{ pkgs, persistence, lib, ... }:
+
+{
+  programs.password-store.enable = true;
+
+  programs.password-store.settings.PASSWORD_STORE_DIR =
+    "${config.xdg.dataHome}/password-store";
+}