mirror of
https://github.com/alyraffauf/flake.git
synced 2026-06-04 06:36:46 +00:00
A fully-featured Nix flake template, ft. nix-darwin, NixOS, home-manager, automatic CI, formatters, and more.
- Nix 100%
| .github/workflows | ||
| hosts | ||
| modules | ||
| .envrc | ||
| .gitignore | ||
| .justfile | ||
| .prettierignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE.md | ||
| README.md | ||
❄️ flake
Fully featured Nix flake template, featuring nix-darwin, NixOS, home-manager, automatic CI, devShells, formatters (treefmt), and more.
🚀 Usage
To use this flake template, create a new directory and run the following command:
nix flake init -t github:alyraffauf/flake
📂 Repository Structure
.
├── flake.nix # Main entry point
├── hosts/ # NixOS and nix-darwin host configurations
└── modules/ # Nix modules
├── darwin/ # macOS-specific modules
├── home/ # home-manager modules
├── flake/ # Organized flake components
│ ├── darwin.nix # macOS-specific configurations
│ ├── home-manager.nix # home-manager configurations
│ ├── nixos.nix # NixOS-specific configurations
│ └── ... # Other flake components
└── nixos/ # NixOS-specific modules
🤝 Contributing
Open to contributions! If you notice something wrong or that needs improvement with this template, please feel free to open an issue or submit a pull request.
📜 License
This repository is licensed under the MIT License.