From f70e481fa59ecb7958abeb2cb928c79efcd65f43 Mon Sep 17 00:00:00 2001 From: Ryan Trinkle Date: Tue, 29 Aug 2023 04:07:59 -0900 Subject: [PATCH] Update NixOS.md --- notes/NixOS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notes/NixOS.md b/notes/NixOS.md index 6fcdd0aed..3e01b5ed7 100644 --- a/notes/NixOS.md +++ b/notes/NixOS.md @@ -3,8 +3,8 @@ When using Nix on NixOS, only root can add binary caches to the system. This will force `try-reflex` to rebuild GHCJS from scratch, which takes hours. To use the binary cache, you can add the following lines to your `/etc/nixos/configuration.nix`: ``` -nix.substituters = [ "https://cache.nixos.org/" "https://nixcache.reflex-frp.org" ]; -nix.trusted-public-keys = [ "ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=" ]; +nix.settings.substituters = [ "https://nixcache.reflex-frp.org" ]; +nix.settings.trusted-public-keys = [ "ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=" ]; ``` If you already have one of these variables set up, just add these values to the existing lists.