MfGames Project Setup Flake

Up a Level

News

2026-04-05 Breaking Changes

2024-03-07 Adding File Ignoring

2024-08-07 Changed the default .NET formatter

2025-01-10 Update to NixOS 25.05 and more

2025-01-10 Update to NixOS 24.11

Blog Archives

Introduction

An opinionated setup for projects using Nix flakes.

According to Larry Wall, there are three virtues of a great coder[1]: laziness, impatience, and hubris.

1: https://thethreevirtues.com/

Over the years, the complexity of being a developer has only increased. Fortunately (or unfortunately depending the mood), we have embraced laziness and developed tools to help automate some of the more tedious tasks to ensure everything is formatted correctly and properly recorded. This has resulted in libraries such as:

EditorConfig

Conform

Lefthook

Prettier

Rustfmt

Treefmt

In addition, we need to document policies that guide our projects:

Contributor Convenant

Developer Certificate of Origin

But, like the rest of the development world, all of these tools change and evolve. New tools become useful to ensure formatting while others are taken over by successors. Not to mention opinions and aesthetics change and what works yesterday doesn't always look right today.

Nix

This project is intended to be used with Nix[2] flakes and can be used directly as an input.

2: https://nixos.wiki/wiki/Flakes

To use it, the module must be added first, then the options[3] as used.

3: ./docs/options/

Of course, this being Nix, there are many ways of creating a devShell. This is one way of using the config inside the shell.

Metadata

Project:

Home

Documentation

- Project ID: 019530bd-5065-731f-925b-3961eb7aa613</li>

Categories:

MfGames Project Setup Flake

Footer

Below are various useful links within this site and to related sites (not all have been converted over to Gemini).

Categories

D. Moonfire

Fedran

The Moonfires

HTML

Atom Feed