25 lines
742 B
Org Mode
25 lines
742 B
Org Mode
:PROPERTIES:
|
|
:ID: cce/nix_community_cachix
|
|
:END:
|
|
#+TITLE: Nix Community Cachix
|
|
#+filetags: :CCE:
|
|
|
|
Need to hit the fkn binary cache when building [[id:cce/emacs][Emacs]] in the [[id:cce/cce][CCE]] with [[id:cce/nixops][NixOps]]. Extracted this after running =cachix use nix-community=, after installing it:
|
|
|
|
#+ARROYO_NIXOS_MODULE: nixos/cachix.nix
|
|
|
|
#+begin_src nix :tangle ~/arroyo-nix/nixos/cachix.nix :mkdirp yes
|
|
{ ... }:
|
|
|
|
{
|
|
nix.settings.substituters = [
|
|
"https://cache.nixos.org/"
|
|
"https://nix-community.cachix.org"
|
|
];
|
|
nix.settings.trusted-public-keys = [
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
|
];
|
|
}
|
|
#+end_src
|