From 5b58afb2fc7dc1c356884d6a968541143103e950 Mon Sep 17 00:00:00 2001 From: Cassie Cheung Date: Mon, 9 Dec 2024 17:04:13 +0800 Subject: [PATCH] ci: try not to build the kernel over and over again --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index a38f8da..4861ca9 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,12 @@ nixos-hardware.url = "github:NixOS/nixos-hardware"; }; + nixConfig = { + extra-trusted-substituters = [ "https://cache.soopy.moe" ]; + extra-substituters = [ "https://cache.soopy.moe" ]; + extra-trusted-public-keys = [ "cache.soopy.moe-1:0RZVsQeR+GOh0VQI9rvnHz55nVXkFardDqfm4+afjPo=" ]; + }; + outputs = { self, nixpkgs, nixos-hardware }: let system = "x86_64-linux";