diff options
author | Franck Cuny <franck@fcuny.net> | 2023-03-10 18:13:36 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-03-10 18:20:23 -0800 |
commit | a8426f5fe94c34d8a9c625a6293092a399483c84 (patch) | |
tree | adf4937128b6e197692bc8267e7ff773852b7123 | |
parent | documentation: clean up (diff) | |
download | world-a8426f5fe94c34d8a9c625a6293092a399483c84.tar.gz |
home/pass: configure passage properly
I need to be explicit about the path to the identity file. Since I'm switching from pass to passage, I also want to disable the automatic synchronization of the repository, and I don't need to have a wrapper for git to push the secrets (I push through ssh now instead of HTTPS).
-rw-r--r-- | home/pass/default.nix | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/home/pass/default.nix b/home/pass/default.nix index 73082e3..043ff6c 100644 --- a/home/pass/default.nix +++ b/home/pass/default.nix @@ -16,9 +16,9 @@ in }; }; - home.sessionVariables = { PASSAGE_DIR = "${config.xdg.dataHome}/passage/store"; + PASSAGE_IDENTITIES_FILE = "${config.xdg.dataHome}/passage/identities"; # for now I have to default to rage, as the version of age is # not recent enough to work with keys generated by # age-plugin-yubikey @@ -30,20 +30,7 @@ in tree ]; - programs.git = { - extraConfig = { - credential = { - helper = "${pkgs.gitAndTools.pass-git-helper}/bin/pass-git-helper"; - useHttpPath = true; - }; - }; - }; - - xdg.configFile."pass-git-helper/git-pass-mapping.ini" = { - source = ./git-pass-mapping.ini; - }; - - services.password-store-sync.enable = true; + services.password-store-sync.enable = false; # Ensure the password store things are in the systemd session systemd.user.sessionVariables = config.programs.password-store.settings; |