Move github token to global nix options.

This commit is contained in:
2025-01-19 14:42:46 +00:00
parent cd700ca5b5
commit 5658ffc15d
3 changed files with 5 additions and 6 deletions

View File

@@ -8,4 +8,9 @@
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
# TODO: this should be a secret, maybe
nix.extraOptions = ''
access-tokens = github.com=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
'';
} }

View File

@@ -8,7 +8,6 @@
git git
home-manager home-manager
mosh mosh
nix
python312Packages.ipython python312Packages.ipython
ripgrep ripgrep
tmux tmux

View File

@@ -359,11 +359,6 @@
lesspipe.enable = false; lesspipe.enable = false;
# TODO: this should be a secret, maybe
nix.extraOptions = ''
access-tokens = github.com=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
'';
nix-index-database.comma.enable = true; nix-index-database.comma.enable = true;
nixvim = { nixvim = {