# ---- TITAN ---- # ASUS Zenbook Pro Duo UX581LV: i7/i9 10th gen (UHD 630) + RTX 2060, # 4K OLED + ScreenPad Plus. Same workstation as terra (profiles/workstation.nix). { config, pkgs, lib, inputs, ... }: { imports = [ ./hardware-configuration.nix ./disk-config.nix ./secrets.nix ../../common.nix ../../profiles/workstation.nix ]; networking.hostName = "titan"; # Connector names are a first guess; check `hyprctl monitors` after the # first boot. The catch-all rule keeps any unlisted output usable. home-manager.users.darman.homelab.desktop = { monitors = [ { output = "eDP-1"; mode = "3840x2160@60"; position = "0x0"; scale = 2; } { output = ""; mode = "preferred"; position = "auto"; scale = "auto"; } ]; primaryOutput = "eDP-1"; }; hardware.cpu.intel.updateMicrocode = true; services.thermald.enable = true; # ---- GPU: Intel iGPU drives the panels, RTX 2060 on demand ---- # Run something on the dGPU with `nvidia-offload `. hardware.graphics.extraPackages = [ pkgs.intel-media-driver ]; services.xserver.videoDrivers = [ "modesetting" "nvidia" ]; hardware.nvidia = { open = true; # Turing is supported by the open module modesetting.enable = true; powerManagement.enable = true; powerManagement.finegrained = true; # dGPU powers off when idle prime = { offload.enable = true; offload.enableOffloadCmd = true; # Usual UX581 values; confirm with `lspci | grep -E 'VGA|3D'`. intelBusId = "PCI:0:2:0"; nvidiaBusId = "PCI:1:0:0"; }; }; # ---- laptop ---- hardware.bluetooth.enable = true; services.power-profiles-daemon.enable = true; services.upower.enable = true; zramSwap.enable = true; system.stateVersion = "26.05"; }