forked from Skynet/discord-bot
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
|
@ -6,6 +6,16 @@
|
||||||
naersk.url = "github:nix-community/naersk";
|
naersk.url = "github:nix-community/naersk";
|
||||||
utils.url = "github:numtide/flake-utils";
|
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:
|
outputs = { self, nixpkgs, utils, naersk }: utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue