flake: configure binary cache

This commit is contained in:
Sebastien Bourdeauducq 2021-08-12 15:22:23 +08:00 committed by occheung
parent d13efd6587
commit be5ae5c5b4
1 changed files with 5 additions and 0 deletions

View File

@ -104,4 +104,9 @@
defaultPackage.x86_64-linux = python3.withPackages(ps: [ packages.x86_64-linux.artiq ]); defaultPackage.x86_64-linux = python3.withPackages(ps: [ packages.x86_64-linux.artiq ]);
}; };
nixConfig = {
binaryCachePublicKeys = ["nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc="];
binaryCaches = ["https://nixbld.m-labs.hk" "https://cache.nixos.org"];
};
} }