From 5dd056d8789d1db2d8fc43a4a14cb169f7f43ce0 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Fri, 26 Jan 2024 14:35:26 +0100 Subject: [PATCH] Personal cache as substituter --- modules/nix/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/nix/default.nix b/modules/nix/default.nix index 0b14b26..278e0f8 100644 --- a/modules/nix/default.nix +++ b/modules/nix/default.nix @@ -15,6 +15,12 @@ "@wheel" ]; netrc-file = "/etc/nix/netrc"; + substituters = [ + "https://cache.aciceri.dev" + ]; + trusted-public-keys = [ + "cache.aciceri.dev~1:nJMfcBnYieY2WMbYDG0s9S5qUhU+V4RPL+X9zcxXxZY=" + ]; }; extraOptions = ''