users/jan: fix pass store path
This commit is contained in:
parent
4d97f0b3ba
commit
726ac24aed
1 changed files with 7 additions and 4 deletions
|
@ -60,9 +60,6 @@
|
|||
|
||||
local.shell.enable = true;
|
||||
|
||||
home.sessionVariables = lib.mkIf config.local.programs.pass.enable {
|
||||
PASSWORD_STORE_DIR = "${config.home-manager.users.jan.xdg.dataHome}/pass/store";
|
||||
};
|
||||
|
||||
################################################################################
|
||||
# Programs
|
||||
|
@ -124,7 +121,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.pass-secret-service.enable = config.local.programs.pass.enable;
|
||||
services.pass-secret-service = lib.mkIf config.local.programs.pass.enable {
|
||||
enable = true;
|
||||
storePath = config.home-manager.users.jan.home.sessionVariables.PASSWORD_STORE_DIR;
|
||||
};
|
||||
home.sessionVariables = lib.mkIf config.local.programs.pass.enable {
|
||||
PASSWORD_STORE_DIR = "${config.home-manager.users.jan.xdg.dataHome}/pass/store";
|
||||
};
|
||||
|
||||
################################################################################
|
||||
# Packages
|
||||
|
|
Loading…
Reference in a new issue