flake: add caches
This commit is contained in:
parent
6cbbab80bd
commit
982b9defd4
1 changed files with 10 additions and 0 deletions
10
flake.nix
10
flake.nix
|
@ -7,6 +7,16 @@
|
|||
utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
/*
|
||||
sudo nano /etc/nix/nix.conf
|
||||
trusted-users = {username}
|
||||
*/
|
||||
|
||||
nixConfig = {
|
||||
extra-substituters = "https://nix-cache.skynet.ie/skynet-cache";
|
||||
extra-trusted-public-keys = "skynet-cache:OdfA4Or0JcHiHf05fsiIR4nZT2z2yDEtkoLqhntGAz4=";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils, naersk }: utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages."${system}";
|
||||
|
|
Loading…
Reference in a new issue