mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
26 lines
575 B
Nix
26 lines
575 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
nix = {
|
|
package = lib.mkDefault pkgs.nix;
|
|
|
|
settings = {
|
|
# Try to have at least 10GB of space by default
|
|
min-free = lib.mkDefault (5 * 1024 * 1024 * 1024);
|
|
max-free = lib.mkDefault (10 * 1024 * 1024 * 1024);
|
|
|
|
extra-substituters = [
|
|
"https://nix-community.cachix.org"
|
|
];
|
|
extra-trusted-substituters = [
|
|
"https://nix-community.cachix.org"
|
|
];
|
|
extra-trusted-public-keys = [
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
];
|
|
};
|
|
};
|
|
}
|