From d3432ab240b3d68e114a77975a71052d84361df0 Mon Sep 17 00:00:00 2001 From: Lander Van den Bulcke Date: Tue, 26 Aug 2025 00:58:41 +0200 Subject: [PATCH] feat: add nix-community cache Signed-off-by: Lander Van den Bulcke --- hosts/wodan/default.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/hosts/wodan/default.nix b/hosts/wodan/default.nix index 3328e1c..ca5991a 100644 --- a/hosts/wodan/default.nix +++ b/hosts/wodan/default.nix @@ -102,10 +102,22 @@ superdirt-install ]; - nix.settings.experimental-features = [ - "nix-command" - "flakes" - ]; + nix.settings = { + experimental-features = [ + "nix-command" + "flakes" + ]; + + substituters = [ + "https://cache.nixos.org/" + "https://nix-community.cachix.org" + ]; + + trusted-public-keys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; services.tailscale.enable = true; services.mullvad-vpn = {