forked from DGNum/infrastructure
fix(cache): Make instructions and code work
This commit is contained in:
parent
fb610306ee
commit
c642e98ab9
2 changed files with 3 additions and 5 deletions
|
@ -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"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue