24 lines
492 B
Nix
24 lines
492 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Enable flakes
|
|
nix = {
|
|
package = pkgs.nixFlakes;
|
|
|
|
settings = {
|
|
experimental-features = "nix-command flakes";
|
|
keep-outputs = true;
|
|
keep-derivations = true;
|
|
min-free = (toString (1024 * 1024 * 1024) );
|
|
max-free = (toString (5 * 1024 * 1024 * 1024) );
|
|
substituters = [
|
|
"https://cache.garnix.io"
|
|
];
|
|
trusted-public-keys = [
|
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
|
];
|
|
};
|
|
};
|
|
nixpkgs.config.allowUnfree = true;
|
|
}
|