From cb74116f7c486bf781627ed878b48079fe7244f5 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Thu, 4 Apr 2024 14:17:51 -0500 Subject: [PATCH] Add garnix cache. --- nixos/common.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/common.nix b/nixos/common.nix index 5ba0531..be267ae 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -20,8 +20,12 @@ options = [ "x-systemd.automount" "noauto" ]; }; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - nix.settings.trusted-users = [ "root" "jahanson" ]; + nix.settings = { + experimental-features = [ "nix-command" "flakes" ]; + trusted-users = [ "root" "jahanson" ]; + extra-substituters = "https://cache.garnix.io"; + extra-trusted-public-keys = "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="; + }; # Enable fish programs.fish.enable = true;