flake.nix | add binary caches
This commit is contained in:
parent
05c00bce69
commit
9e39863bf5
1 changed files with 19 additions and 0 deletions
19
flake.nix
19
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 = {
|
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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue