{ config, lib, pkgs, inputs, ... }: let unstable = import inputs.nixpkgs-unstable { system = "x86_64-linux"; config.allowUnfree = true; config.rocmSupport = true; }; in { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ../../modules/common.nix ]; boot.loader.grub = { enable = true; device = "nodev"; efiSupport = true; }; boot.loader.efi.canTouchEfiVariables = false; boot.loader.efi.efiSysMountPoint = "/boot/efi"; networking.hostName = "desktop"; networking.wireless.iwd.enable = true; networking.wireless.iwd.settings = { General.EnableNetworkConfiguration = true; }; networking.nameservers = [ "1.1.1.1" "8.8.8.8" ]; services.xserver.videoDrivers = [ "amdgpu" ]; services.ollama = { enable = true; package = unstable.ollama; acceleration = "rocm"; rocmOverrideGfx = "10.3.0"; }; environment.variables.HSA_OVERRIDE_GFX_VERSION = "10.3.0"; system.stateVersion = "25.11"; }