Fix secrets more
This commit is contained in:
parent
f2dcbd22b6
commit
c1d48ccf86
@ -97,7 +97,7 @@ let
|
|||||||
mkIndividualSecrets = name: cfg:
|
mkIndividualSecrets = name: cfg:
|
||||||
map (x: {
|
map (x: {
|
||||||
"${name}-envsubst-${x}" = {
|
"${name}-envsubst-${x}" = {
|
||||||
encrypted = "/home/balsoft/.password-store/${
|
encrypted = "${config.environment.sessionVariables.PASSWORD_STORE_DIR}/${
|
||||||
lib.optionalString (!isNull cfg.directory) "${cfg.directory}/"
|
lib.optionalString (!isNull cfg.directory) "${cfg.directory}/"
|
||||||
}${x}.gpg";
|
}${x}.gpg";
|
||||||
services = [ ];
|
services = [ ];
|
||||||
|
@ -10,7 +10,7 @@ in {
|
|||||||
secrets.email = {
|
secrets.email = {
|
||||||
owner = "balsoft:users";
|
owner = "balsoft:users";
|
||||||
services = [ ];
|
services = [ ];
|
||||||
encrypted = "/home/balsoft/.password-store/email/balsoft@balsoft.ru.gpg";
|
encrypted = "${config.environment.sessionVariables.PASSWORD_STORE_DIR}/email/balsoft@balsoft.ru.gpg";
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.balsoft = {
|
home-manager.users.balsoft = {
|
||||||
|
Loading…
Reference in New Issue
Block a user