From 28d5a0a0f930679c1ecd85286c608da7f07384bc Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 9 Apr 2024 16:38:51 +0000 Subject: [PATCH] add garnix cache for later --- default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/default.nix b/default.nix index 8c674290..069b7f53 100644 --- a/default.nix +++ b/default.nix @@ -24,8 +24,17 @@ outputs.nixosModules.security ]; - # flakes - nix.settings.experimental-features = ["nix-command" "flakes"]; + # nix settings that should 100% be global + #nix.settings.experimental-features = ["nix-command" "flakes"]; + nix.settings = { + experimental-features = ["nix-command" "flakes"]; + substituters = [ + "https://cache.garnix.io" + ]; + trusted-public-keys = [ + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" + ]; + }; # import the overlays nixpkgs = {