From 0a0c4ae20bf24383ad18ecf0058abe26695c5fd9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 13 Mar 2023 18:23:21 -0700 Subject: home/passage: delete all references to password-store I completely replaced the usage of `pass' with `passage'. There's no need to keep a mapping file at this point, since my interaction with the git server is through ssh. --- home/pass/default.nix | 24 +++++------------------- home/pass/git-pass-mapping.ini | 9 --------- 2 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 home/pass/git-pass-mapping.ini (limited to 'home/pass') diff --git a/home/pass/default.nix b/home/pass/default.nix index 043ff6c..eb43c3a 100644 --- a/home/pass/default.nix +++ b/home/pass/default.nix @@ -3,18 +3,13 @@ let cfg = config.my.home.pass; in { options.my.home.pass = with lib; { - enable = mkEnableOption "pass configuration"; + enable = mkEnableOption "passage configuration"; }; config = lib.mkIf cfg.enable { - 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; - }; - }; + home.packages = with pkgs; [ + passage + tree + ]; home.sessionVariables = { PASSAGE_DIR = "${config.xdg.dataHome}/passage/store"; @@ -25,14 +20,5 @@ in PASSAGE_AGE = "${pkgs.rage}/bin/rage"; }; - home.packages = with pkgs; [ - passage - tree - ]; - - services.password-store-sync.enable = false; - - # Ensure the password store things are in the systemd session - systemd.user.sessionVariables = config.programs.password-store.settings; }; } diff --git a/home/pass/git-pass-mapping.ini b/home/pass/git-pass-mapping.ini deleted file mode 100644 index 497801a..0000000 --- a/home/pass/git-pass-mapping.ini +++ /dev/null @@ -1,9 +0,0 @@ -[DEFAULT] -line_username=1 -skip_username=10 - -[github.com/*] -target=git/github.com - -[git.fcuny.net/*] -target=git/git.fcuny.net -- cgit 1.4.1