{ config, lib, pkgs, inputs, nur, ... }: { nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.extra-experimental-features = [ "nix-command" "flakes" ]; nix.settings.cores = 2; nix.settings.max-jobs = 4; nix.settings.extra-substituters = [ "https://cache.lix.systems" ]; nix.settings.trusted-public-keys = [ "cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=" ]; nix.buildMachines = [{ hostName = "unicron"; system = "x86_64-linux"; protocol = "ssh"; maxJobs = 0; }]; nix.distributedBuilds = true; nix.settings.builders = " ssh://unicron.local x86_64-linux " ; nix.extraOptions = '' builders-use-substitutes = true ''; # dynamic linker programs.nix-ld.dev.enable = true; programs.nix-ld.dev.libraries = with pkgs; [ cmake fontconfig harfbuzz freetype expat glib atk gtk3 pango cairo gdk-pixbuf zlib libz xorg.libxcb libxkbcommon libGL wayland vulkan-headers vulkan-loader ]; # Allow unfree packages nixpkgs.config.allowUnfree = true; nixpkgs.overlays = [ inputs.nur.overlay ]; }