home: nix: fix cache configuration
All checks were successful
ci/woodpecker/push/check Pipeline was successful

Copy-paste is bad kids, the home-manager module does *not* do the same
as NixOS.

I was rebuilding the world, since this was overriding the official Hydra
cache...
This commit is contained in:
Bruno BELANYI 2024-02-15 16:58:54 +00:00
parent a0dde6f274
commit b2a199c9a0

View file

@ -63,13 +63,11 @@ in
(lib.mkIf cfg.cache.selfHosted { (lib.mkIf cfg.cache.selfHosted {
nix = { nix = {
settings = { settings = {
# The NixOS module adds the official Hydra cache by default extra-substituters = [
# No need to use `extra-*` options.
substituters = [
"https://cache.belanyi.fr/" "https://cache.belanyi.fr/"
]; ];
trusted-public-keys = [ extra-trusted-public-keys = [
"cache.belanyi.fr:LPhrTqufwfxTceg1nRWueDWf7/2zSVY9K00pq2UI7tw=" "cache.belanyi.fr:LPhrTqufwfxTceg1nRWueDWf7/2zSVY9K00pq2UI7tw="
]; ];
}; };