From ad3512faf879839169262b6c82d9d15cf6d57b08 Mon Sep 17 00:00:00 2001 From: klarkc Date: Tue, 2 Jan 2024 23:47:24 -0300 Subject: [PATCH] fix(cache): add missing self substituter --- setups/cache/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setups/cache/default.nix b/setups/cache/default.nix index 86fb4d0..6ea28b3 100644 --- a/setups/cache/default.nix +++ b/setups/cache/default.nix @@ -45,6 +45,12 @@ let enable = true; secretKeyFile = config.age.secrets.cache.path; }; + nix.settings.trusted-substituters = [ + "https://${domain}" + ]; + nix.settings.trusted-public-keys = [ + (builtins.readFile ../../secrets/cache.pub) + ]; nix.extraOptions = '' min-free = 2684354560 max-free = 5368709120