From 611c66868c6c82aa3ae3a5344f72506b2d715855 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Thu, 9 Jul 2026 01:13:32 +0530 Subject: refactor: refactor SSH module and move git host configs to dedicated submodule --- modules/programs/pass/default.nix | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) (limited to 'modules/programs/pass/default.nix') 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 - # ''; }; } -- cgit v1.2.3