optimize flake shape and add devshell

This commit is contained in:
Harivansh Rathi 2026-03-29 23:00:59 -04:00
parent f3d61787f0
commit 6dfef30594
8 changed files with 202 additions and 121 deletions

View file

@ -38,13 +38,22 @@ just secrets-sync # shell env vars -> ~/.config/secrets/shell.zsh
just secrets-restore-files # SSH keys, AWS, GCloud, Codex, GitHub CLI
```
## dev
```bash
nix develop
just check
just fmt
```
## layout
```
hosts/darwin/ - macOS nix-darwin config
hosts/netty/ - NixOS VPS config (disko + hardware)
modules/ - system-level modules (packages, macos defaults, homebrew)
home/ - Home Manager modules (shell, editor, tools)
hosts/darwin/ - macOS host entrypoint
hosts/netty/ - NixOS VPS entrypoint (disko + hardware)
modules/ - shared system modules + devshells
home/ - Home Manager modules
lib/hosts.nix - host metadata used by the flake
lib/ - shared package sets and theme system
config/ - repo-owned config files (nvim, tmux, etc.)
scripts/ - secret management and utility scripts