35 lines
790 B
Nix
35 lines
790 B
Nix
{ ... }: {
|
|
nix = {
|
|
gc.automatic = false;
|
|
|
|
settings = {
|
|
auto-optimise-store = true;
|
|
builders-use-substitutes = true;
|
|
allowed-users = ["@wheel"];
|
|
trusted-users = ["@wheel"];
|
|
commit-lockfile-summary = "Update flake.lock";
|
|
accept-flake-config = true;
|
|
keep-derivations = true;
|
|
keep-outputs = true;
|
|
warn-dirty = false;
|
|
sandbox = true;
|
|
max-jobs = "auto";
|
|
log-lines = 30;
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
substituters = [
|
|
"https://cache.nixos.org"
|
|
];
|
|
trusted-public-keys = [
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
|
];
|
|
};
|
|
};
|
|
|
|
nixpkgs = {
|
|
config = {
|
|
allowUnfree = true;
|
|
allowBroken = true;
|
|
};
|
|
};
|
|
}
|