NullOS
Declarative NixOS flake setup featuring Hyprland, development and reverse engineering tooling, gaming optimizations, and a dual-purpose mini PC server & Android TV box
NullOS is a fully declarative, flake-based NixOS setup designed for daily driving across workstations, laptops, and living room appliances. It combines a Wayland desktop powered by Hyprland with developer environments, reverse engineering utilities, gaming optimizations, and multi-machine profile management.
Everything from base kernel parameters and system services down to user-level configurations (Zsh, Ghostty, Neovim, VSCode, and Waybar) is declaratively managed via Nix flakes and Home Manager.
Architecture & Machine Matrix
NullOS uses a modular profile system in its Nix flake, cleanly separating shared base configurations from host-specific hardware and software requirements.
1. nspc — Primary Workstation
The primary desktop rig built for intensive development, reverse engineering, and gaming:
- Display & Compositor: Hyprland on multi-monitor (DisplayPort + HDMI) with custom animations and Waybar.
- Graphics: Dedicated NVIDIA GPU running open kernel modules.
- Reverse Engineering & Dev: Android Studio, ADB, binwalk, hexdump, bindiff, nix-ld for running unpatched dynamic ELF binaries, Docker, KVM, Direnv, and VSCode / OpenCode.
- Gaming & Compatibility: Steam with GameMode, Wine, Rare (Epic Games), Moonlight streaming, and Autodesk Fusion 360 via Wine flake.
2. nslapt — Portable Daily Driver
A laptop profile built for mobile productivity and power efficiency:
- Hybrid GPU Management: NVIDIA PRIME offload (Intel iGPU + NVIDIA dGPU) with bus ID pinning to preserve battery when unplugged.
- Hardware Integration: Asus daemon (asusd) hardware control for power profiles and lighting, plus iOS usbmuxd support.
- Sync & Backups: Automated offsite backups via Restic, Cachix binary cache integration, and dynamic monitor hotplugging.
3. nsminipc — Dual-Role Living Room Server & Android TV
An ultra-efficient Intel Core i3-6100T mini PC operating simultaneously as a headless home server and a living room TV entertainment hub:
- Android TV via Waydroid & Cage: Boots directly into Cage, a kiosk Wayland compositor on tty1, running LineageOS Android TV images with OpenGAPPS.
- Voice & Media Control: Includes custom voice search and remote navigation tooling (waydroid-voice) hooked into Stremio and media shortcuts.
- Home Automation & Services: Runs Home Assistant with Matter Hub, radvd IPv6 router advertisements for Matter/Thread connectivity, Evolution API, and PostgreSQL.
- Secure Networking: Cloudflare Tunnel (cloudflared) for remote access without port forwarding, paired with automated NextDNS IP update timers.
- Hardware Tuning: CPU governor locked to performance to avoid frequency-ramp stutter during hardware video decoding, BFQ I/O scheduler configured for spinning storage, and volatile journald to reduce disk wear.
Desktop Experience
NullOS delivers a cohesive, keyboard-driven Wayland environment:
- Window Management: Hyprland with smooth cubic bezier animations, window rules, and Pyprland scratchpad integration for instant drop-down terminals.
- Status & Controls: Waybar system monitoring bar, SwayNC notification centre, SwayOSD on-screen volume/brightness feedback, and Rofi application launcher.
- Aesthetic Unity: Stylix automatically synchronizes color palettes across GTK, Qt, terminal emulators, and editor themes using base16 palettes.
- Terminal Stack: Ghostty terminal running Zsh with Powerlevel10k and Starship prompts, paired with fast modern CLI replacements like Eza, Yazi, Bat, and Fzf.
Development & Reverse Engineering Focus
NullOS is pre-configured out of the box for reverse engineering and software development:
- Binary Analysis: binwalk, hexdump, bindiff, ripgrep, and decompression suites.
- Dynamic Binary Execution: nix-ld provides a standard glibc dynamic linker and library path, allowing pre-compiled binaries to execute without containerization or manual patchelf.
- Mobile Research: Complete Android SDK, ADB, fastboot, and direct emulation/testing via Waydroid.
- Virtualization & Sandboxes: Docker with compose, KVM/QEMU, Waypipe for forwarding Wayland apps over SSH, and Devenv for reproducible per-project shells.
Screenshots




Repository & Installation
The entire configuration is public and reproducible:
# Clone the repository
git clone https://github.com/NullString1/NullOS.git
cd NullOS
# Rebuild and switch on a target machine
sudo nixos-rebuild switch --flake .#nspc
# or for laptop / minipc
sudo nixos-rebuild switch --flake .#nslapt
sudo nixos-rebuild switch --flake .#nsminipc