chore: add cachyos binary cache

This commit is contained in:
2026-06-20 00:51:43 +02:00
parent 5b2b451002
commit 120ecb1feb
2 changed files with 19 additions and 2 deletions
+11
View File
@@ -1,6 +1,17 @@
{ {
description = "NixOS flake"; description = "NixOS flake";
nixConfig = {
extra-substituters = [
"https://claude-code.cachix.org"
"https://attic.xuyh0120.win/lantian"
];
extra-trusted-public-keys = [
"claude-code.cachix.org-1:YeXf2aNu7UTX8Vwrze0za1WEDS+4DuI2kVeWEE4fsRk="
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
];
};
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-2605.url = "github:NixOS/nixpkgs/nixos-26.05"; nixpkgs-2605.url = "github:NixOS/nixpkgs/nixos-26.05";
+8 -2
View File
@@ -40,8 +40,14 @@ nixpkgs.lib.nixosSystem {
nix-cachyos-kernel.overlays.pinned nix-cachyos-kernel.overlays.pinned
] ++ (import ../overlays/pkgs.nix { inherit bun2nix; }); ] ++ (import ../overlays/pkgs.nix { inherit bun2nix; });
nix.settings = { nix.settings = {
substituters = [ "https://claude-code.cachix.org" ]; substituters = [
trusted-public-keys = [ "claude-code.cachix.org-1:YeXf2aNu7UTX8Vwrze0za1WEDS+4DuI2kVeWEE4fsRk=" ]; "https://claude-code.cachix.org"
"https://attic.xuyh0120.win/lantian"
];
trusted-public-keys = [
"claude-code.cachix.org-1:YeXf2aNu7UTX8Vwrze0za1WEDS+4DuI2kVeWEE4fsRk="
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
];
}; };
} }
lanzaboote.nixosModules.lanzaboote lanzaboote.nixosModules.lanzaboote