From 8de0ba7158ab949350b3c6ef791efc3351cd3d5d Mon Sep 17 00:00:00 2001 From: ant Date: Mon, 1 Sep 2025 20:55:39 +0200 Subject: [PATCH] add nixcache.antoinevaure.fr as substituter --- os/common.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/os/common.nix b/os/common.nix index 64dd327..7ab92fb 100644 --- a/os/common.nix +++ b/os/common.nix @@ -1,7 +1,11 @@ { config, pkgs, ... }: { nix.package = pkgs.nixVersions.latest; - nix.settings = { experimental-features = [ "nix-command" "flakes" ]; }; + nix.settings = { + experimental-features = [ "nix-command" "flakes" ]; + extra-substituters = [ "https://nixcache.antoinevaure.fr/" ]; + extra-trusted-public-keys = [ "nixcache.antoinevaure.fr:KbcKN97zPmsDUCNAXj5g1/WWJEk2WnyMgI6CmwgX/QY=" ]; + }; nixpkgs.config.allowUnfree = true;