From efb54d93fe058f69ebf0ac2c4db536abf03c6408 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sun, 12 Jul 2020 15:56:19 +0200 Subject: [PATCH] Use sunspear as a substituter --- build.sh | 2 ++ configurations/nix-store.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 7209e050..046018a7 100755 --- a/build.sh +++ b/build.sh @@ -5,6 +5,8 @@ set -x nix-build \ --no-out-link \ --pure \ + --builders 'ssh://charlotte@sunspear.vanpetegem.me' \ + --extra-substituters 'ssh://charlotte@sunspear.vanpetegem.me' \ "${@}" exit 0 diff --git a/configurations/nix-store.nix b/configurations/nix-store.nix index 01e7d461..4129ba56 100644 --- a/configurations/nix-store.nix +++ b/configurations/nix-store.nix @@ -11,6 +11,7 @@ automatic = true; dates = [ "hourly" ]; }; + trustedUsers = [ "@wheel" ]; }; nixpkgs.config = import ./nix-store/config.nix;