Skip to content

Hosts

All NixOS hosts are managed declaratively via flakes. Each host has its own directory under hosts/nixos/. Darwin hosts live under hosts/darwin/. Standalone home-manager configs live under hosts/home/.

NixOS Hosts

Host Arch CPU RAM Disk User Key Services
mach x86_64 Intel i7-10510U (4c/8t) 24 GB NVMe niksingh710 FileBrowser, Beszel agent, Docker
dsd x86_64 Intel i9-12900KS (16c/24t) 64 GB NVMe nikhil.singh FileBrowser, Beszel agent, Docker, Minecraft
semi x86_64 Intel i9-14900K (24c/32t) 128 GB NVMe nikhil.singh FileBrowser, Beszel agent, Docker
obox aarch64 Ampere Neoverse-N1 (4c/4t) 24 GB 200G nikhil Beszel hub, Stirling PDF, FileBrowser, Caddy
jp-mbp aarch64 Apple M4 - - nikhil.singh Yabai, Aerospace, Karabiner

Darwin Hosts

Host Arch Role
jp-mbp aarch64 MacBook Pro M4

Templates

Host Purpose
anywhere Generic NixOS server template for nixos-anywhere
virt-x86_64 VM testing (x86_64)
virt-aarch64 VM testing (aarch64)

Standalone Home Configs

Config User Modules
hosts/home/nikhil.nix nikhil default, ai, stylix (cli-only), git with Juspay conditional email
hosts/home/admin.nix (current) default, home-only

Common Config

Workstations (semi, dsd) share hosts/nixos/common/workstation.nix which imports:

It also wires:

  • The nikhil.singh user (from config.nix, Juspay identity) with wheel/docker/networkmanager groups
  • sops age key at ~/.config/sops/age/keys.txt, default file secrets/office.yaml
  • Tailscale auth key from sops
  • Beszel agent as user (rootless Docker) with token from sops
  • FileBrowser password from sops
  • nix access token from sops (via !include in nix.extraOptions)
  • SSH known hosts for dsd + semi (cross-building)

Each host then overrides or extends as needed (e.g., mach adds media mount, obox adds hub services, dsd adds minecraft).

Host Inheritance Summary

Host Base Extra imports
semi common/workstation.nix disk, hardware, extra-users
dsd common/workstation.nix disk, hardware, extra-users, minecraft
mach (standalone) default, hardware, filebrowser, beszel, tailscale, virtualisation, sops, disko
obox (standalone) nix, tailscale, beszel, virtualisation, filebrowser, sops, disko
jp-mbp darwinModules.default yabai, sops
anywhere (template) nix, disko, qemu-guest
virt-* nixosModules.default disko, hardware