From b77a940bf85042abf353f9aa19344b6325647665 Mon Sep 17 00:00:00 2001 From: Jez Cope Date: Thu, 16 Sep 2021 12:04:13 +0100 Subject: [PATCH] system: gwydion as binary cache for arianrhod --- hosts/arianrhod/default.nix | 2 ++ hosts/gwydion/default.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/hosts/arianrhod/default.nix b/hosts/arianrhod/default.nix index 84e0ed7..fcf0d3d 100644 --- a/hosts/arianrhod/default.nix +++ b/hosts/arianrhod/default.nix @@ -12,4 +12,6 @@ boot.loader.efi.canTouchEfiVariables = true; services.xserver.videoDrivers = [ "intel" "fbdev" ]; + + nix.trustedBinaryCaches = [ "http://gwydion.local:5000" ]; } diff --git a/hosts/gwydion/default.nix b/hosts/gwydion/default.nix index 974876e..18e504a 100644 --- a/hosts/gwydion/default.nix +++ b/hosts/gwydion/default.nix @@ -45,4 +45,6 @@ userlist = [ "jez" ]; writeEnable = true; }; + + services.nix-serve.enable = true; }