export binary caches via flake
This commit is contained in:
parent
f0be22892b
commit
951ff804a6
3 changed files with 9 additions and 3 deletions
|
@ -1,6 +1,15 @@
|
||||||
{
|
{
|
||||||
description = "NixOS configuration of our builders";
|
description = "NixOS configuration of our builders";
|
||||||
|
|
||||||
|
nixConfig.extra-substituters = [
|
||||||
|
"https://nix-community.cachix.org"
|
||||||
|
"https://nixpkgs-update.cachix.org"
|
||||||
|
];
|
||||||
|
nixConfig.extra-trusted-public-keys = [
|
||||||
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
|
"nixpkgs-update.cachix.org-1:6y6Z2JdoL3APdu6/+Iy8eZX2ajf09e4EE9SnxSML1W8="
|
||||||
|
];
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||||
# https://github.com/NixOS/nixpkgs/pull/168186
|
# https://github.com/NixOS/nixpkgs/pull/168186
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
substituters = https://cache.nixos.org https://nix-community.cachix.org/ https://nixpkgs-update.cachix.org/
|
|
||||||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= nixpkgs-update.cachix.org-1:6y6Z2JdoL3APdu6/+Iy8eZX2ajf09e4EE9SnxSML1W8=
|
|
|
@ -31,6 +31,5 @@ mkShell {
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export CLOUDFLARE_API_TOKEN=$(< ./secrets/cloudflare-api-token)
|
export CLOUDFLARE_API_TOKEN=$(< ./secrets/cloudflare-api-token)
|
||||||
export NIX_USER_CONF_FILES="$(pwd)/nix/nix.conf";
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue