mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
35 lines
911 B
Nix
35 lines
911 B
Nix
{
|
|
nixosConfig ? null,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
nix = {
|
|
package = lib.mkDefault (nixosConfig.nix.package or pkgs.nix);
|
|
|
|
settings = {
|
|
extra-substituters = [
|
|
"https://nix-community.cachix.org"
|
|
"https://leana8959.cachix.org"
|
|
];
|
|
extra-trusted-substituters = [
|
|
"https://nix-community.cachix.org"
|
|
"https://leana8959.cachix.org"
|
|
];
|
|
extra-trusted-public-keys = [
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
"leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M="
|
|
];
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
allow-import-from-derivation = true;
|
|
keep-build-log = true;
|
|
keep-going = true; # Continue even when some fails
|
|
keep-outputs = true; # Build time derivations and sources
|
|
warn-dirty = false;
|
|
};
|
|
};
|
|
}
|