{ config, pkgs, lib, inputs, ... }: { imports = [ ./hardware/hardware-configuration.nix ./hardware/disko.nix ]; networking.hostName = "voidspear"; networking.hostID = "ec82a76e"; # nVidia drivers. hardware.graphics.extraPackages = with pkgs; [ libvdpau-va-gl ]; services.xserver.videoDrivers = [ "nvidia"]; hardware.nvidia = { modesetting.enable = true; powerManagement.enable = false; open = false; nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.stable; }; boot.blacklistedKernelModules = [ "nouveau" ]; services.ollama.package = pkgs.ollama-cuda; }