From b9a17c5b779706b0232f90f675204416c5a7bbbe Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 19 Mar 2024 13:37:32 +0100 Subject: [PATCH] Add devenv cache --- home-manager/profiles/work-wsl.nix | 2 ++ modules/misc/common/default.nix | 12 ++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/home-manager/profiles/work-wsl.nix b/home-manager/profiles/work-wsl.nix index cca92ed..2d38153 100644 --- a/home-manager/profiles/work-wsl.nix +++ b/home-manager/profiles/work-wsl.nix @@ -50,10 +50,12 @@ substituters = [ "https://nix-community.cachix.org" "https://cache.nixos.org" + "https://devenv.cachix.org" ]; trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=" ]; }; }; diff --git a/modules/misc/common/default.nix b/modules/misc/common/default.nix index d722855..9daa70c 100644 --- a/modules/misc/common/default.nix +++ b/modules/misc/common/default.nix @@ -134,8 +134,16 @@ "root" "@wheel" ]; - substituters = [ "https://nix-community.cachix.org" ]; - trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; + substituters = [ + "https://nix-community.cachix.org" + "https://cache.nixos.org" + "https://devenv.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=" + ]; min-free = 1000000000; max-free = 10000000000; connect-timeout = 5;