From 9e39863bf5a3d39b65583cfa5c3555b76b38e25c Mon Sep 17 00:00:00 2001 From: Don Harper Date: Mon, 18 Aug 2025 19:21:12 -0500 Subject: [PATCH] flake.nix | add binary caches --- flake.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/flake.nix b/flake.nix index 7c296d4..78e1c48 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";