Use cachix to publish binary cache

This commit is contained in:
Dave Gallant
2021-02-15 23:28:45 -05:00
parent b26fe96dc6
commit c295d28a9a
3 changed files with 28 additions and 1 deletions

View File

@@ -24,7 +24,16 @@
lib' = lib // import ./lib { inherit config lib; };
};
nix.registry = { nixpkgs.flake = nixpkgs; };
nix = {
autoOptimiseStore = true;
binaryCaches = [ "https://davegallant.cachix.org" ];
binaryCachePublicKeys = [
"davegallant.cachix.org-1:SsUMqL4+tF2R3/G6X903E9laLlY1rES2QKFfePegF08="
];
useSandbox = false;
registry = { nixpkgs.flake = nixpkgs; };
trustedUsers = [ "root" "dave" ];
};
nixpkgs.overlays = [ (import ./overlays) ];