My personal dotfiles as a flake.
Structure:
├── hosts # host configurations
├── lib # library functions
├── modules
│ ├── darwin # reusable modules for macOS
│ ├── nixos # reusable modules for nixOS
│ ├── system # reusable modules for unix-like systems (nixOS, darwin, etc.)
│ └── home # reusable modules for home manager
└── users # user configurations (can be shared across hosts)
Some configurations are not publicly shared, so you need to adjust the flake to your needs.