No description
  • QML 60.5%
  • Nix 19.4%
  • Python 13.6%
  • JavaScript 6.3%
  • CSS 0.1%
  • Other 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-05 02:17:54 -06:00
.codex Greg's NixOS configuration — WintermuteOS client hosts 2026-10-29 11:54:51 -05:00
archive/screensavers Greg's NixOS configuration — WintermuteOS client hosts 2026-10-29 11:54:51 -05:00
docs add system76 power patch 2026-12-04 17:57:37 -06:00
home add grok-bot 2026-12-04 20:20:33 -06:00
hosts fix nvtop 2026-12-04 18:17:33 -06:00
scripts Greg's NixOS configuration — WintermuteOS client hosts 2026-10-29 11:54:51 -05:00
.gitignore Greg's NixOS configuration — WintermuteOS client hosts 2026-10-29 11:54:51 -05:00
AGENTS.md Document WintermuteOS 2.0 and the Mango migration 2026-11-14 08:46:57 -06:00
flake.lock update wintermute-mail 2026-12-05 02:17:54 -06:00
flake.nix add grok-bot 2026-12-04 20:20:33 -06:00
node-registry.json Greg's NixOS configuration — WintermuteOS client hosts 2026-10-29 11:54:51 -05:00
README.md Document WintermuteOS 2.0 and the Mango migration 2026-11-14 08:46:57 -06:00
WintermuteOS-ColorHistory.md Document WintermuteOS 2.0 and the Mango migration 2026-11-14 08:46:57 -06:00
WintermuteOS-HASS-screenshot.png Greg's NixOS configuration — WintermuteOS client hosts 2026-10-29 11:54:51 -05:00
WintermuteOS-HASS.md Document WintermuteOS 2.0 and the Mango migration 2026-11-14 08:46:57 -06:00
WintermuteOS-Keybindings.md Add standalone shortcut sheet and categorized application launcher 2026-11-15 07:58:26 -06:00
WintermuteOS-Mango.md Replace terminal screensaver with Matrix lock and unified idle deadlines 2026-11-14 12:46:43 -06:00
WintermuteOS-screenshot.png Greg's NixOS configuration — WintermuteOS client hosts 2026-10-29 11:54:51 -05:00
WintermuteOS-Syncthing-screenshot.png Greg's NixOS configuration — WintermuteOS client hosts 2026-10-29 11:54:51 -05:00
WintermuteOS-Syncthing.md Document WintermuteOS 2.0 and the Mango migration 2026-11-14 08:46:57 -06:00
WintermuteOS-Theming.md Migrate all WintermuteOS hosts to Kitty and port the rmpc terminal profile 2026-11-14 20:58:04 -06:00
WintermuteOS-Webcam-screenshot.png Greg's NixOS configuration — WintermuteOS client hosts 2026-10-29 11:54:51 -05:00
WintermuteOS-Webcam.md Document WintermuteOS 2.0 and the Mango migration 2026-11-14 08:46:57 -06:00
WintermuteOS.md Retire the Quickshell voxtype glyph and settings panel. 2026-11-26 13:39:02 -06:00

nixos-config

I'm Greg Helding. You can find me at helding.net, on GitHub at github.com/gthelding, and on Forgejo at truesilver.dev/greg.

This is my personal NixOS flake with shared Home Manager modules and per-host user profiles. Welcome, and thanks for stopping by - feel free to explore the layout, borrow ideas, and adapt anything useful for your own setup.

This README is a tour, not a step-by-step guide. It is intended as "here is my flake, read it and take what you like." Comments welcome. Keep roasting to a minimum.

Quick links: WintermuteOS | Home Assistant bar panel | Syncthing bar panel | Webcam settings panel | Hosts | What this repo manages | Repository layout | Audio | Molly tuning | Shell, terminal & prompt | Distrobox | Flake input note

WintermuteOS

WintermuteOS 2.0 — is my take on a custom, fully declarative desktop system on NixOS: it uses Wayland with Mango as the compositor, Quickshell as the shell. It is a Home Manager layer (home/greg/desktop-wintermute/), not a separate module tree.

Version 2.0 marks the migration from Hyprland to Mango, retaining Quickshell and the per-host Home Manager desktop layers.

I apply theming: WintermuteOS-Theming.md. Quickshell provides for useful custom widgets that a stock bar config cannot; current examples are the Home Assistant panel, the Syncthing panel, and the webcam settings panel on wintermute.

Hosts

The table describes the repository configuration. See the Mango deployment status for rollout progress.

Host Hardware Role User / Profile
molly ThinkPad X1 Gen 11 Daily-driver laptop (Wayland + Mango) greg (home/greg/molly.nix)
wintermute System76 Thelio desktop (NVIDIA RTX 3080) Workstation — WintermuteOS 2.0 (Wayland + Mango + Quickshell) greg (home/greg/default.nix)
hosaka Geekom mini-PC Ham-shack desktop — WintermuteOS (Wayland + Mango + Quickshell, gruvbox) w9gth (home/w9gth/default.nix)
ono-sendai Beelink Mini S12 Pro (Intel N100) Shop desktop for CAD, electronics, and firmware development — WintermuteOS (Mango + Quickshell, Blueprint theme) greg (home/greg/ono-sendai.nix)

What this repo manages

  • NixOS system configuration per host under hosts/
  • Shared and user-specific Home Manager modules under home/
  • Host-aware user services
  • Per-host theming for terminal apps — e.g., btop and Neovim pick a colorscheme by host (Neovim comes from the external nvf-config flake via lib.mkNvim "<theme>").

Repository layout

flake.nix                  Flake entrypoint and host definitions
hosts/
  common-base.nix          Shared baseline across all hosts
  mango-session.nix       Shared Mango system floor for molly, hosaka, ono-sendai
  quiet-boot.nix           Quiet graphical boot (plymouth) for desktop hosts
  molly/                   Laptop system config + hardware (Wayland + Mango)
  wintermute/              Workstation system config + hardware
  hosaka/                  Ham-shack desktop config + hardware
  ono-sendai/              Beelink N100 shop desktop config + hardware
home/
  greg/                    Home Manager profiles for greg (wintermute, molly, ono-sendai)
    default.nix            Entry point (wintermute / WintermuteOS)
    desktop-wintermute/    wintermute's Mango + Quickshell layer (forked per host;
                           Syncthing widget in quickshell/, [doc](WintermuteOS-Syncthing.md);
                           StreamCam settings on the screenrecord glyph, [doc](WintermuteOS-Webcam.md))
    molly.nix              Entry point (Wayland + Mango laptop)
    desktop/               molly's Mango desktop layer (forked per host)
    ono-sendai.nix         Entry point (Beelink shop desktop / WintermuteOS)
    desktop-ono-sendai/    ono-sendai's Mango + Quickshell layer (Blueprint theme)
    ntfy.nix               ntfy desktop notifications
  w9gth/                   Home Manager profile for user w9gth (hosaka)
    default.nix            Entry point (Wayland + Mango)
    desktop/               hosaka's Mango desktop layer (forked per host)
  shared/
    bash.nix               Shell + starship config (parameterized per host)
    ghostty.nix            Parameterized ghostty terminal config
    ghostty-shaders.nix    Pinned ghostty-shaders fetch (shared by ghostty/rmpc)
    rmpc.nix               rmpc config + ghostty wrapper (wintermute only)
    fastfetch.nix          Parameterized fastfetch config (per-host logo)
    gdb.nix                GDB defaults (Intel syntax)
    packages/              User package sets (cli, desktop, dev, media, etc.)
    starship*.toml         Starship prompt themes (selected per host)
    wintermuteos/
      themes/              Complete theme records and generators
      hass/                Home Assistant bar module ([doc](WintermuteOS-HASS.md))
scripts/                   Helper scripts (backups, git helpers, rsync exclude)

Audio

PipeWire is enabled in hosts/common-base.nix for all desktop hosts (including molly and wintermute). Host-specific audio tuning lives in each host's configuration.nix rather than the shared module:

  • wintermute carries a low-latency profile (92-low-latency, fixed 512-quantum at 48 kHz) and a wireplumber rule (99-no-suspend) that prevents ALSA nodes from suspending. This suits a workstation with always-connected speakers and recording use.
  • molly uses default PipeWire behavior: dynamic quantum and normal node suspend, which is friendlier to laptop battery life.

Wintermute, Molly, and Hosaka provide Voxtype speech-to-text dictation through a user service, with a shared NixOS floor. Wintermute and Molly use Vulkan; Hosaka uses ONNX. Read-aloud uses local Piper speech synthesis on all four hosts.

Molly (X1 Gen 11) tuning

molly is the machine formerly known as strider, reborn on an XFS root (no ZFS, so linuxPackages_latest is never blocked) running Wayland + Mango instead of Plasma. In addition to the shared baseline, molly applies a few laptop-specific tweaks in hosts/molly/configuration.nix:

  • VA-API: LIBVA_DRIVER_NAME=iHD is exported so mpv, OBS, and other VA-API consumers use the modern Intel Media Driver instead of falling back to legacy i965.
  • Power profiles: power-profiles-daemon provides selectable profiles through the battery panel, with separate remembered AC and battery choices.
  • Charge thresholds: a system service sets charging start/stop to 90/95%.
  • Unlock: the configured Quickshell lock uses a password; fingerprint support is disabled.

Shell, terminal & prompt

The interactive look-and-feel is factored into small parameterized Home Manager modules under home/shared/, each imported per user profile with host-specific arguments (the same idiom as bash.nix). The underlying packages all come from the shared CLI package set, so these modules only own the config:

  • bash.nix — shell config plus the starship prompt. The starshipTheme argument selects a theme file: starship.toml (wintermute and hosaka), starship-cyber-powerline.toml (molly's neon powerline). Hosaka's old pastel-powerline file remains on disk unused.
  • ghostty.nix — programs.ghostty config taking { theme, fontFamily?, fontSize?, opacity?, shaders?, extraSettings? }. Custom GLSL shaders (e.g. cursor_blaze.glsl) are pulled from the pinned hackr-sh/ghostty-shaders checkout, factored into ghostty-shaders.nix so the main config and the rmpc wrapper share one store path. ghostty +list-themes lists the 460+ built-in themes.
  • rmpc.nix — wintermute-only rmpc config: a ghostty terminal wrapper (ghostty/rmpc.conf), config.ron, and the gruvbox TUI theme. The wrapper .conf is a plain ghostty config with a @shaders@ placeholder substituted to the pinned shader path at build. Molly and hosaka dropped rmpc (cliamp remains on $mod+SHIFT+M).
  • fastfetch.nix — takes { configFile, imagesDir? } and installs the XDG config (and optional logo images). Per-host configs live in home/shared/packages/fastfetch/config-<host>.jsonc; the custom cyber-fetch.png logo is shared via the images/ dir.

Distrobox

Distrobox containers are configured in hosts/common-base.nix with access to Nix-installed executables. Three things make this work:

  1. Bind mounts expose the Nix store and user profile symlinks into every container (read-only):

    • /nix/store
    • /etc/profiles/per-user
    • /etc/static/profiles/per-user
  2. An init hook creates /etc/profile.d/nix-path.sh inside the container on first entry, which adds /etc/profiles/per-user/$USER/bin to PATH. This is necessary because NixOS normally sets PATH via /etc/set-environment during login, and that mechanism doesn't exist inside the container.

  3. Podman is the container runtime (virtualisation.podman).

Flake input note

Neovim (nvf-config) and Wintermute Mail use private Forgejo inputs. Wintermute Mail requires tailnet access and an SSH key. Other inputs come from public sources, including GitHub and Butterview on justaguy.dev. Adapting the flake outside this environment requires replacing or removing the private integrations.