home: nix: fix cache configuration
ci/woodpecker/push/check Pipeline was successful Details

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
1 changed files with 2 additions and 4 deletions

View File

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