feat: enable http cache
This commit is contained in:
parent
9f8865441b
commit
d697845887
2 changed files with 12 additions and 7 deletions
|
|
@ -1,17 +1,19 @@
|
|||
{ ... }: {
|
||||
{ config, lib, ... }: {
|
||||
nix = {
|
||||
settings = {
|
||||
# auto optimise every so often
|
||||
# auto-optimise-store = true;
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
substituters = [
|
||||
(lib.mkIf (config.networking.hostName != "nuOS") "https://cache.itepastra.nl")
|
||||
"https://hyprland.cachix.org"
|
||||
"https://cache.iog.io"
|
||||
"https://cuda-maintainers.cachix.org"
|
||||
"https://nix-community.cachix.org/"
|
||||
"https://nix-community.cachix.org"
|
||||
"https://cache.iog.io"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"cache.itepastra.nl:zCB+g5uXlDuFXbs9pI10UmidFQt17kFTaPywv+J33FQ="
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
|
||||
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue