aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/pass
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-07-09 01:13:32 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-07-09 01:13:32 +0530
commit611c66868c6c82aa3ae3a5344f72506b2d715855 (patch)
tree43dca7977b3f1eeec2e24f53fe89c6b9764b441b /modules/programs/pass
parent3a6f2ce2a2334c514c5310aa58cab626775d3e01 (diff)
downloadhome-manager-config-611c66868c6c82aa3ae3a5344f72506b2d715855.tar.gz
home-manager-config-611c66868c6c82aa3ae3a5344f72506b2d715855.zip
refactor: refactor SSH module and move git host configs to dedicated submodule
Diffstat (limited to 'modules/programs/pass')
-rw-r--r--modules/programs/pass/default.nix30
1 files changed, 1 insertions, 29 deletions
diff --git a/modules/programs/pass/default.nix b/modules/programs/pass/default.nix
index 0455d31..b7a8e2a 100644
--- a/modules/programs/pass/default.nix
+++ b/modules/programs/pass/default.nix
@@ -11,12 +11,6 @@
enable = lib.mkEnableOption "Enables pass.";
package = lib.mkPackageOption pkgs "pass" { };
-
- storeDir = lib.mkOption {
- type = lib.types.str;
- default = "${config.home.homeDirectory}/.password-store";
- description = "Path to the pass password store.";
- };
};
config = lib.mkIf config.programs.pass.enable {
@@ -24,30 +18,8 @@
enable = true;
package = config.programs.pass.package;
settings = {
- PASSWORD_STORE_DIR = config.programs.pass.storeDir;
+ PASSWORD_STORE_DIR = "${config.home.homeDirectory}/.local/share/pass";
};
};
-
- # home.file.".config/pass-git-helper/git-pass-mapping.ini".text = ''
- # [github.com]
- # target = github/token
- # username = ${config.programs.pass.github.username}
- # username_extractor = static
- #
- # [github.com/*]
- # target = github/token
- # username = ${config.programs.pass.github.username}
- # username_extractor = static
- #
- # [*.github.com]
- # target = github/token
- # username = ${config.programs.pass.github.username}
- # username_extractor = static
- #
- # [*.github.com/*]
- # target = github/token
- # username = ${config.programs.pass.github.username}
- # username_extractor = static
- # '';
};
}