chore: add cachyos binary cache
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user