From c1d86390ff32c9444fe71a36efc1d7c1048dfce0 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Sun, 9 Feb 2025 17:08:28 -0500 Subject: [PATCH] add wce cache as substitutor --- modules/core.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/core.nix b/modules/core.nix index d1827ca..421bb87 100644 --- a/modules/core.nix +++ b/modules/core.nix @@ -2,8 +2,12 @@ config = { system.stateVersion = "24.05"; time.timeZone = "America/New_York"; - nix.settings.experimental-features = ["flakes" "nix-command"]; - nix.settings.trusted-users = ["@wheel"]; + nix.settings = { + experimental-features = ["flakes" "nix-command"]; + trusted-users = ["@wheel"]; + substituters = [" https://cache.wanderingcrow.net/main"]; + trusted-public-keys = ["main:w2Ryiog6zSARbqXfTTYZmhg+FrEodWjCgyy9tYLZIAw="]; + }; environment.variables = { EDITOR = "nvim";