From ae74749c28de3ae5dd1c794fc8678b71c2c79bbf Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sun, 25 Feb 2024 23:26:13 +0100 Subject: [PATCH] tomate: add ifsr cache --- hosts/tomate/configuration.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/hosts/tomate/configuration.nix b/hosts/tomate/configuration.nix index 63d03c5..f3f3ceb 100644 --- a/hosts/tomate/configuration.nix +++ b/hosts/tomate/configuration.nix @@ -17,11 +17,17 @@ networking.hostName = "tomate"; # Define your hostname. networking.nftables.enable = true; - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + nix = { + settings = { + substituters = [ + "https://cache.ifsr.de" + ]; + trusted-public-keys = [ + "cache.ifsr.de:y55KBAMF4YkjIzXwYOKVk9fcQS+CZ9RM1zAAMYQJtsg=" + ]; + }; + }; # Enable networking networking.networkmanager.enable = true;