feat: add github access token for higher api limit
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
907ad13aa8
commit
b0542f4f2d
3 changed files with 10 additions and 1 deletions
|
@ -1,8 +1,17 @@
|
||||||
{nixpkgs, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
nixpkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; {
|
||||||
# Minimize dowloads of indirect nixpkgs flakes
|
# Minimize dowloads of indirect nixpkgs flakes
|
||||||
nix = {
|
nix = {
|
||||||
registry.nixpkgs.flake = nixpkgs;
|
registry.nixpkgs.flake = nixpkgs;
|
||||||
nixPath = ["nixpkgs=${nixpkgs}"];
|
nixPath = ["nixpkgs=${nixpkgs}"];
|
||||||
|
extraOptions = optionalAttrs (hasAttr "sops" config) ''
|
||||||
|
!include ${config.sops.secrets.access-token.path}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# Global hm settings
|
# Global hm settings
|
||||||
|
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
Loading…
Reference in a new issue