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
dgnum-infra = PINNED_PATH_TO_INFRA;
in {
nix.settings = (import dgnum-infra).mkCacheSettings {
caches = [
"infra"
];
nix.settings = (import dgnum-infra { }).mkCacheSettings {
caches = [ "infra" ];
};
}
```

View file

@ -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 {