7
submitted 1 month ago* (last edited 1 month ago) by claymorwan@lemmy.blahaj.zone to c/nix@programming.dev

Recently garnix shutdown, which mean trying to rebuild my config while having it as a subsituter just failswith a bad gateway. Issue is, to remove it from my config, i gotta rebuild my config, which obviously fails since it tries to check for garnix. Not sure what to do here

EDIT: I fixed by by "overriding" my nix config, I jsut copied the substituter related entry in the nix.conf geberated by nix, pasted them in ~/.config/nix/nix.conf and removed garnix from those, then just rebuild the config and boom it worked. Just dot forget to then remove those lines from the user nix config

top 2 comments
sorted by: hot top new old
[-] jet@hackertalks.com 7 points 1 month ago

Override your substitutes in the rebuild command itself

nixos-rebuild switch --option substituters "https://cache.nixos.org/" --option extra-substituters ""

[-] hallettj@leminal.space 1 points 1 month ago

So long Garnix! It will be missed

this post was submitted on 31 Jul 2026
7 points (100.0% liked)

Nix / NixOS

2851 readers
1 users here now

Main links

Videos

founded 3 years ago
MODERATORS