1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00

Update README.md

Brief description of how to disable use of a cache
This commit is contained in:
valan 2024-10-26 15:51:38 -07:00 committed by GitHub
parent 2b05b7d986
commit c1d6abeb28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,6 +24,10 @@ To configure Nix to automatically use cache `foo`:
attic use foo
```
## Disabling a cache
To configure Nix to no longer use a cache, remove the corresponding entries from the list of `substituters` and `trusted-public-keys` in `~/.config/nix/nix.conf`
## Pushing to the cache
To push a store path to cache `foo`: