Skip to content

Commit

Permalink
Merge pull request #830 from reflex-frp/ryantrinkle-patch-1
Browse files Browse the repository at this point in the history
Fix settings in NixOS.md
  • Loading branch information
ryantrinkle authored Aug 29, 2023
2 parents 79c454a + f70e481 commit 11d0c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notes/NixOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 11d0c21

Please sign in to comment.