feat: add github access token for higher api limit
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-01-09 09:17:54 -05:00
parent 907ad13aa8
commit b0542f4f2d
3 changed files with 10 additions and 1 deletions

View file

@ -1,8 +1,17 @@
{nixpkgs, ...}: {
{
config,
lib,
nixpkgs,
...
}:
with lib; {
# Minimize dowloads of indirect nixpkgs flakes
nix = {
registry.nixpkgs.flake = nixpkgs;
nixPath = ["nixpkgs=${nixpkgs}"];
extraOptions = optionalAttrs (hasAttr "sops" config) ''
!include ${config.sops.secrets.access-token.path}
'';
};
# Global hm settings

Binary file not shown.

BIN
flake.nix

Binary file not shown.