From fb520a417ca6085096a9c3d90eb50bc046fea08c Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Wed, 16 Apr 2025 20:03:49 -0400 Subject: [PATCH] Use caches --- nixos/modules/base.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixos/modules/base.nix b/nixos/modules/base.nix index dcd7a4f..b7788cc 100644 --- a/nixos/modules/base.nix +++ b/nixos/modules/base.nix @@ -27,4 +27,16 @@ system.stateVersion = "24.11"; nixpkgs.config.allowUnfree = true; + + # Caches + nix.settings = { + trusted-public-keys = [ + "nix-cache.stranger.systems:DrIF2T1eqAsxWQIz/HvjO7TxtcJwpg0nMAbPfndvvzw=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + substituters = [ + "https://nix-cache.stranger.systems" +"https://nix-community.cachix.org" + ]; + }; }