# Living-room games machine: 4th-gen Core i7 (Haswell) on a UEFI board, wired to # a television and driven from the sofa with a Bluetooth controller. Desktop host # -- shared graphical/wired options live in ../../modules/desktop.nix; only # host-specific settings are here. The games stack (Steam session, RetroArch, # controllers) is in ./gaming.nix and the GPU in ./nvidia.nix. Install notes: # see ../../docs/hosts/console.md. { ... }: { imports = [ ./hardware-configuration.nix ./nvidia.nix ./gaming.nix ]; # Haswell: AVX2/FMA/BMI2, i.e. x86-64-v3. Above the fleet default (2), so this # only records the fact -- no feature flag currently keys off level 3. features.cpu.microarchLevel = 3; # Ordinary PC UEFI firmware: systemd-boot, and NVRAM writes are safe here # (unlike the Mac Pro's Apple EFI, which cannot be trusted with efibootmgr). boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; # The boot menu is unreadable from a sofa and unusable without a keyboard. # Boot the default immediately; hold space at power-on to get the menu back. boot.loader.timeout = 0; # Bound the entry list so the ESP does not fill up with old generations. boot.loader.systemd-boot.configurationLimit = 10; networking.hostName = "Console-NixOS"; hardware.cpu.intel.updateMicrocode = true; # See `man configuration.nix` / the stateVersion docs before changing. system.stateVersion = "26.05"; }