No description
  • Nix 93.1%
  • CSS 6.9%
Find a file
2026-09-25 00:41:24 +00:00
docs feat(apps): add calcurse and life tools (#55) 2026-09-25 00:28:41 +00:00
hosts feat(hosts): add melica macOS host with nix-darwin (#44) 2026-09-21 03:36:53 +00:00
modules feat(docker): move Docker data root to /home/docker (#58) 2026-09-25 00:41:24 +00:00
pkgs feat(apps): add calcurse and life tools (#55) 2026-09-25 00:28:41 +00:00
.gitignore chore: gitignore generated .pre-commit-config.yaml (#15) 2026-07-19 04:53:38 +00:00
flake.lock chore(omp): update llm-agents (#57) 2026-09-25 07:34:56 +07:00
flake.nix chore(omp): update llm-agents with nixpkgs (#54) 2026-09-23 21:18:05 +00:00
README.md feat(hosts): add melica macOS host with nix-darwin (#44) 2026-09-21 03:36:53 +00:00
statix.toml feat: initial NixOS config 2026-07-13 02:13:09 +07:00

nixos-config

My Nix configurations: NixOS daily driver plus nix-darwin for the MacBook. Shared Home Manager modules (nixvim, git, shell, apps) are reused across both hosts.

Hosts

Host Machine Details
suda Ryzen 7 8845HS / Radeon 780M mini PC NixOS, Niri + Noctalia desktop
melica MacBook Pro 13" 2020 (M1) nix-darwin + Home Manager

Repository layout

modules/
  system/        — core system: boot, users, networking, nix settings
  hardware/      — hardware enablement and drivers
  services/      — background services and daemons
  desktop/       — graphical environment (compositor, shell, theme)
  apps/          — user-facing applications
  gaming/        — gaming stack
  dev/           — development tooling and repo checks
hosts/<host>/    — host composition and hardware config
pkgs/            — custom package derivations
docs/            — installation, maintenance, troubleshooting, per-host pages

Common commands

nix fmt .                        # format
nix flake check                  # lint + format + dead-code checks

# NixOS (suda)
sudo nh os switch                # build and switch (or: sudo nixos-rebuild switch --flake .#suda)

# macOS (melica)
darwin-rebuild switch --flake .#melica   # first run: nix run nix-darwin -- switch --flake .#melica

# update inputs
nix flake update
sudo nh os switch                        # then rebuild each host

Rollback (suda): pick a previous generation from the GRUB boot menu, or sudo nixos-rebuild switch --rollback. Rollback (melica): darwin-rebuild switch --rollback.

Documentation