Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Why I Picked NixOS for a 24/7 Home AI Server, and the 5 Gotchas That Bit Me During Install

Описание и применение

Автор установил NixOS на беспроводной сервер с RTX 5090, решив проблемы подключения Wi‑Fi, настройки btrfs и отключения режима энергосбережения, и получил преимущества декларативной конфигурации и отката.

Задача

Running a headless 24/7 AI server with a new RTX 5090 GPU required an OS that could provide declarative configuration, easy rollback, and reproducibility, while handling WiFi connectivity and power‑save issues during installation.

Результат

The author successfully installed a headless NixOS server with an RTX 5090 GPU, resolved WiFi connectivity and power‑save issues, and achieved declarative configuration with rollback capability.

Рабочий процесс

  • Boot NixOS 26.05 minimal ISO and mount target disk with btrfs subvolumes
  • Connect to WiFi using nmcli device wifi connect "SSID" password "pass"
  • Copy NetworkManager profiles to /mnt/etc/NetworkManager/system-connections before installing
  • Run nixos-generate-config and edit hardware-configuration.nix to add compress=zstd and noatime options
  • Disable WiFi power‑save with iw dev wlp7s0 set power_save off or set wifi.powersave = 2; in configuration.nix
  • Use sudo sh -c "cp ... *.nmconnection ..." for remote glob expansion

Доказательства

I built a home AI server that runs around the clock, as a playground to mess with local LLMs.

Источник

The ISO’s wpa_supplicant.service starts with -u (D-Bus mode, no -i) as an NM-only backend, so writing your own conf never grabs the interface.

Источник

The WiFi connection info you set up on the ISO does not carry over to the install target.

Источник

Average 83ms, max 257ms on a LAN. Normal LAN values are 2–5ms, so something was clearly off.

Источник

Result: average 8ms, max 18ms — about a 10x improvement.

Источник

  • Дата записи: 2026-10-21T16:41:24.935Z