mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Use cachix to publish binary cache
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -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) ];
|
||||
|
||||
|
Reference in New Issue
Block a user