A fully-featured Nix flake template, ft. nix-darwin, NixOS, home-manager, automatic CI, formatters, and more.
Find a file
2025-11-08 19:23:37 -05:00
.github/workflows flake/actions: lock checkout action @ v5 2025-11-04 15:36:00 -05:00
hosts init 2025-11-02 11:19:45 -05:00
modules templates: fixup path 2025-11-08 19:23:37 -05:00
.envrc init 2025-11-02 11:19:45 -05:00
.gitignore init 2025-11-02 11:19:45 -05:00
.justfile init 2025-11-02 11:19:45 -05:00
.prettierignore init 2025-11-02 11:19:45 -05:00
flake.lock init 2025-11-02 11:19:45 -05:00
flake.nix init 2025-11-02 11:19:45 -05:00
LICENSE.md init 2025-11-02 11:19:45 -05:00
README.md init 2025-11-02 11:19:45 -05:00

❄️ 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.


Stargazers Over Time

Stargazers over time