-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnix.nix
44 lines (42 loc) · 1.42 KB
/
nix.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
pkgs,
flake,
lib,
...
}: {
nix = {
enable = true;
package = lib.mkDefault pkgs.lix;
settings = {
auto-optimise-store = true;
# builders-use-substitutes = true;
extra-experimental-features = ["nix-command" "flakes"];
keep-failed = true;
log-lines = 50;
max-call-depth = 100000;
trusted-users = ["root" "@wheel" "bandithedoge"];
use-xdg-base-directories = true;
warn-dirty = false;
substituters = [
"https://bandithedoge.cachix.org"
"https://berberman.cachix.org"
"https://cache.garnix.io"
"https://cache.nixos.org"
"https://chaotic-nyx.cachix.org/"
"https://nix-community.cachix.org"
"https://nix-gaming.cachix.org"
];
trusted-public-keys = [
"bandithedoge.cachix.org-1:ZtcHw1anyEa4t6H8m3o/ctYFrwYFPAwoENSvofamE6g="
"berberman.cachix.org-1:UHGhodNXVruGzWrwJ12B1grPK/6Qnrx2c3TjKueQPds="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
];
};
nixPath = ["nixpkgs=${flake.inputs.nixpkgs}"];
};
nixpkgs.config.allowUnfree = true;
}