flake.nix | add binary caches

This commit is contained in:
Don Harper 2025-08-18 19:21:12 -05:00
parent 05c00bce69
commit 9e39863bf5

View file

@ -1,4 +1,23 @@
{ {
description = "NixOS System Configuration for duckland.org";
# Binary cache configuration for faster builds
nixConfig = {
allowUnfree = true;
# Binary cache servers (substituters)
extra-substituters = [
"https://cache.nixos.org"
"https://chaotic-nyx.cachix.org"
"https://nix-community.cachix.org"
];
# Public keys for binary cache verification
extra-trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05"; # nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";