From 982b9defd452a033a5c60e169c791884be873e02 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 12 May 2024 16:23:31 +0100 Subject: [PATCH] flake: add caches --- flake.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/flake.nix b/flake.nix index 4fc26b8..fb4824f 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,16 @@ naersk.url = "github:nix-community/naersk"; utils.url = "github:numtide/flake-utils"; }; + + /* + sudo nano /etc/nix/nix.conf + trusted-users = {username} + */ + + nixConfig = { + extra-substituters = "https://nix-cache.skynet.ie/skynet-cache"; + extra-trusted-public-keys = "skynet-cache:OdfA4Or0JcHiHf05fsiIR4nZT2z2yDEtkoLqhntGAz4="; + }; outputs = { self, nixpkgs, utils, naersk }: utils.lib.eachDefaultSystem (system: let