feat(sops): add cargo registry token as secret
This commit is contained in:
parent
c9b321991f
commit
fa620983be
5 changed files with 21 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, osConfig, ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
@ -12,6 +12,8 @@
|
|||
''
|
||||
# Bind CTRL+Backspace to delete whole word
|
||||
bindkey '^H' backward-kill-word
|
||||
# Set Cargo Registry Token
|
||||
export CARGO_REGISTRY_TOKEN="$(cat ${osConfig.sops.secrets.cargo_api_key.path})"
|
||||
'';
|
||||
# TODO: Look into whether we need to add the history attribute
|
||||
profileExtra = # bash
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
./programs/direnv.nix
|
||||
./programs/fzf.nix
|
||||
./programs/git.nix
|
||||
./programs/cargo.nix
|
||||
./programs/nvf.nix
|
||||
./programs/starship.nix
|
||||
./programs/tealdeer.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue