aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/pass
diff options
context:
space:
mode:
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
- # '';
};
}