How psunanand/dotfiles works
This repository defines a macOS environment: Nix flakes and nix-darwin describe the machine, Home Manager manages user packages and links, and native app configuration remains in its own formats. The documented user workflow is to activate the host configuration, which applies system and home settings. The README supports the ownership and configuration relationships shown; source excerpts were unavailable, so internal call-level wiring is not inferred.
Main entry points: darwin/default.nix Darwin modules · home/default.nix Home modules · files.nix Home file links · flake.nix Flake inputs
Components 18
Host configuration
- Flake inputs
flake.nix - mksmbp host
hosts/mksmbp/default.nix
System configuration
- Darwin modules
modules/darwin/default.nix - Home Manager integration
modules/darwin/home-manager.nix - Homebrew inventory
modules/darwin/homebrew.nix - macOS defaults
modules/darwin/macos-defaults.nix - Wallpapers
wallpapers - Security settings
modules/darwin/security.nix
Home environment
- Home modules
modules/home/default.nix - CLI packages
modules/home/packages.nix - Managed programs
modules/home/programs.nix - Home file links
modules/home/files.nix
Native app settings
- XDG app configs
.config - Home-root configs
home - SketchyBar setup
.config/sketchybar
Other components
- Mac owner
- macOS
- Homebrew
Connections 17
- Mac owner → Flake inputs: activates
- Flake inputs → mksmbp host: pins configuration
- mksmbp host → Darwin modules: configures system
- Darwin modules → Home Manager integration: integrates
- Darwin modules → Homebrew inventory: declares inventory
- Darwin modules → macOS defaults: sets defaults
- macOS defaults → Wallpapers: sets wallpaper
- Darwin modules → Security settings: sets security
- Home Manager integration → Home modules: integrates
- Home modules → CLI packages: declares packages
- Home modules → Managed programs: configures programs
- Home modules → Home file links: manages links
- Home file links → XDG app configs: links sources
- Home file links → Home-root configs: links sources
- Homebrew inventory → Homebrew: manages apps
- XDG app configs → SketchyBar setup: includes settings
- Darwin modules → macOS: activates on