19 lines
663 B
Nix
19 lines
663 B
Nix
{ ... }:
|
|
{
|
|
nix.settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
substituters = ["https://hyprland.cachix.org"];
|
|
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
|
|
max-jobs = 12; # Adjust this to your CPU core count or slightly below
|
|
};
|
|
nixpkgs.config = {
|
|
allowUnfree = true;
|
|
cudaSupport = true;
|
|
acceptedLicenses = [ "unfree" "unfreeRedistributable" ];
|
|
};
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
"freeimage-unstable-2021-11-01"
|
|
];
|
|
nix.settings.auto-optimise-store = true;
|
|
nix.settings.access-tokens = "nas.local/git=PAT:glpat-bfbAJxv_4tmgySBZcPSZ";
|
|
} |