feat(sops): add cargo registry token as secret

This commit is contained in:
Mohammad Rafiq 2025-03-25 04:45:56 +08:00
parent c9b321991f
commit fa620983be
No known key found for this signature in database
5 changed files with 21 additions and 12 deletions

View file

@ -28,10 +28,16 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICbZfOYt6zydLyO4f9JAsxb1i6kHAjYzqa0SOqef6MKM rafiq@orpheus"
];
};
environment = {
sessionVariables = {
CWP_JIRA_ACCESS_KEY_FILE = config.sops.secrets.cwp_jira_access_key.path;
CWP_JIRA_LINK_FILE = config.sops.secrets.cwp_jira_link.path;
};
environment.sessionVariables.CWP_JIRA_ACCESS_KEY_FILE =
config.sops.secrets.cwp_jira_access_key.path;
environment.sessionVariables.CWP_JIRA_LINK_FILE = config.sops.secrets.cwp_jira_link.path;
systemPackages = with pkgs; [
git
];
};
security.sudo.wheelNeedsPassword = false;
@ -48,10 +54,6 @@
"@wheel"
];
environment.systemPackages = with pkgs; [
git
];
time.timeZone = "Asia/Singapore";
i18n.defaultLocale = "en_SG.UTF-8";