added gmail credentials file
This commit is contained in:
@@ -34,9 +34,14 @@ in
|
|||||||
path = "${config.xdg.configHome}/sops-nix/gmail_api_credentials.json";
|
path = "${config.xdg.configHome}/sops-nix/gmail_api_credentials.json";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
GMAIL_CREDS_PATH = "${config.xdg.configHome}/sops-nix/gmail_api_credentials.json";
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
(writeShellScriptBin "edit-secrets" ''
|
(writeShellScriptBin "edit-secrets" ''
|
||||||
sops --config ${sopsConfigPath} ${sopsSecretsPath}
|
${sops}/bin/sops --config ${sopsConfigPath} ${sopsSecretsPath}
|
||||||
'')
|
'')
|
||||||
sops
|
sops
|
||||||
age
|
age
|
||||||
|
|||||||
Reference in New Issue
Block a user