From c642e98ab9429eacdb596d333d8934299c0a7dc1 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 8 Oct 2024 15:50:21 +0200 Subject: [PATCH] fix(cache): Make instructions and code work --- README.md | 6 ++---- default.nix | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 186ad0b..787d5bb 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,8 @@ Add the following module to your configuration (and pin this repo using your fav let dgnum-infra = PINNED_PATH_TO_INFRA; in { - nix.settings = (import dgnum-infra).mkCacheSettings { - caches = [ - "infra" - ]; + nix.settings = (import dgnum-infra { }).mkCacheSettings { + caches = [ "infra" ]; }; } ``` diff --git a/default.nix b/default.nix index 7913471..414feb8 100644 --- a/default.nix +++ b/default.nix @@ -76,7 +76,7 @@ in dns = import ./meta/dns.nix; - mkCacheSettings = import ./machines/storage01/tvix-store/cache-settings.nix; + mkCacheSettings = import ./machines/storage01/tvix-cache/cache-settings.nix; shells = { default = pkgs.mkShell {