Skip to content

damiankorcz/nix-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixos-config

⚠️ WIP - Not intended for direct use. Made for my setup / systems specifically.

🌟 Points of Interest

General

  • Auto-mounting a Samba share on boot with all the user permissions working flawlessly: Samba.nix. Requires you to create a smb-secrets file to store the username and password.

Main Desktop

  • I run the 5700X3D undervolted -30mv across all cores.
  • Using a 15Khz CRT TV (JVC TM-A170GE) as a monitor (for retro gaming)
    • Hardware I use: AMD Radeon R5 340x for analogue signal out -> RGB-2YC Converter for changing the VGA to S-Video -> S-Video to the CRT TV.
    • This setup requires specific 15Khz kernel patches from this repository: D0023R/linux_kernel_15khz
    • How I've implemented it (I pin the kernel to the latest stable kernel supported by the patches): hardware-configuration.nix
    • Need to set the default resolution for the CRT TV since there is no EDID info: hardware-configuration.nix
    • Since my main GPU is Nvidia (RTX 2080), I need to use the Nvidia Prime Sync option. Then the AMD GPU is simply used as a monitor output and the Nvidia GPU does all the rendering. That is setup here: hardware-configuration.nix
    • If you use X11, there is switchres available for changing resolutions on the fly depending on what system you are emulating. This should also work with the switchres setup within RetroArch (I personally prefer all standalone emulators).

🎯 Hosts

🖥️ Main Desktop - Custom Build

Specification
Specification Description
Operating System Windows 11 Pro / NixOS (Dual Boot)
Case Phanteks Enthoo Evolv ATX (Galaxy Silver)
CPU AMD Ryzen R7 5700X3D (8c / 16t 3 GHz Base / 4.1 GHz Turbo) -30mv All Core Undervolt
Watercooler Corsair Hydro H115i Pro 280mm
Motherboard ASUS Prime X470-Pro (AM4)
RAM G.SKILL Flare X 32 GB (8 GB x 4) 3200 MHz CL14 (F4-3200C14D-16GFX)
GPU (Main) ZOTAC GAMING GeForce RTX 2080 AMP
GPU (CRT) Dell AMD Radeon R5 340x
PSU EVGA SuperNOVA 650 G2
Storage (SSD) Linux Lexar NM790 NVMe (1TB)
Storage (SSD) Windows Sabrent ROCKET NVMe (1TB)
Monitor 1 Main LG 27GN800-B 27" 1440p IPS 144Hz
Monitor 2 Portrait AOC Q2577Pwq 25" 1440p AH-IPS 60hz
Monitor 3 Top AOC Q2577Pwq 25" 1440p AH-IPS 60hz
Monitor 4 CRT TV JVC TM-A170GE

💻 Laptop - HP Envy 13 (2020) Model: ba0553na

Specification
Specification Description
Operating System Windows 11 Pro / NixOS (Dual Boot)
CPU Intel Core i5-10210U (4c / 8t 1.6 GHz Base / 4.2 GHz Turbo)
RAM 8 GB DDR4-2666 SDRAM (onboard)
GPU (Integrated) Intel UHD Graphics 620
GPU (Discrete) NVIDIA GeForce MX350 (2 GB GDDR5 dedicated)
Storage (SSD) Linux & Windows Intel Optane Memory H10 (512 GB NVMe M.2 SSD + 32 GB Intel Optane memory)
Monitor 13.3" 1080p IPS 400 nits 100% sRGB 60Hz
Wireless Adapter Intel Wi-Fi 6 AX201 (2x2) and Bluetooth 5 combo

Things that don't work:

  • Fingerprint Scanner (no drivers)
  • Brightness FN keys (Using a shortcut with Shift instead)

About

Personal NixOS setup for my machines

Resources

License

Stars

Watchers

Forks