fix(cache): Make instructions and code work

This commit is contained in:
Tom Hubrecht 2024-10-08 15:50:21 +02:00
parent fb610306ee
commit c642e98ab9
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc
2 changed files with 3 additions and 5 deletions

View file

@ -17,10 +17,8 @@ Add the following module to your configuration (and pin this repo using your fav
let let
dgnum-infra = PINNED_PATH_TO_INFRA; dgnum-infra = PINNED_PATH_TO_INFRA;
in { in {
nix.settings = (import dgnum-infra).mkCacheSettings { nix.settings = (import dgnum-infra { }).mkCacheSettings {
caches = [ caches = [ "infra" ];
"infra"
];
}; };
} }
``` ```

View file

@ -76,7 +76,7 @@ in
dns = import ./meta/dns.nix; dns = import ./meta/dns.nix;
mkCacheSettings = import ./machines/storage01/tvix-store/cache-settings.nix; mkCacheSettings = import ./machines/storage01/tvix-cache/cache-settings.nix;
shells = { shells = {
default = pkgs.mkShell { default = pkgs.mkShell {