Riffing on a new flake parts project, Le Grille. Similar to Shell Game, but it also tries to keep the treefmt config in sync. Adding a language should add not just a devshell, but a treefmt config using the same tool versions. Also takes care of some other boilerplate, like deadnix+statix+nixfmt and checking headers with REUSE.

https://codeberg.org/rossabaker/le-grille

#Nix #FlakeParts #Devshell #Treefmt

le-grille

le-grille

Codeberg.org

Unser nächster #Java Usergroup Termin steht bald an.

@sparsick erzählt uns alles über schmerzfreies Aufsetzen einer Dev Umgebung

https://events.ijug.eu/events/ccbd5f78-1e7e-4a05-977e-c6041b8bf61a

#mainz #nix #devcontainers #javascript #devshell

Dev Env Reloaded - Die lokale Entwicklungsumgebung neu gedacht

18.02.2026, 18:00:00 - GMT+1 - ilume informatik ag, 55116, Mainz - Der Vortrag Yeah, eine neue Kollegin kommt ins Team. Mäh, das Onboarding wird wieder ewig dauern. Yeah, du bekommst einen neuen Arbeitslaptop. Mäh, das Aufsetzen wird wieder ewig dauern. Yeah, cool, ic…

`nix develop`/`nix-shell` are designed to debug derivations.

Yet we all use it to create developer environments - even for projects that don't produce Nix derivations.

Is that an anti-pattern? 🤔

👉 https://discourse.nixos.org/t/looking-for-clarity-on-nix-developer-shells-and-their-design/71399/5

#Nix #DevShell #Nixpkgs

Looking for clarity on Nix developer shells and their design

While digging deeper, I found a few interesting GitHub issues and PRs: "Lighter" and "cleaner" shell for `nix develop` and `nix shell` · Issue #4609 · NixOS/nix · GitHub Allow to get rid of `nix develop` "shell" logic · Issue #7501 · NixOS/nix · GitHub flakes: rename devShell to developPackages by Mic92 · Pull Request #3833 · NixOS/nix · GitHub How to get rid of mkNakedShell entirely · Issue #240 · cachix/devenv · GitHub A recurring theme in these discussions is that there are two very differ...

NixOS Discourse

Yesterday I discovered a simple trick to keep my .zshrc loaded when entering a Nix environment:

nix develop . --command zsh -l # or nix-shell -p zsh --run "zsh -l"

And because I use it all the time, I added two handy aliases:

alias ndz='nix develop . --command zsh -l' alias nsz='nix-shell -p zsh --run "zsh -l"'

Now every nix develop feels just like my normal shell =)

#NixOS #Nix #devshell

It would be really nice to have my personal configs for #Helix, #Neovim, or #Codium in my #homemanager config, but also let a #devshell provide extra config specific to that repo.

Any ideas on how something like this could be achieved?

A big shortcoming of #Nix #devshells is that it's difficult to wrap #editor & #LSP configs for your project.

This is the number one thing I would want a #devshell for after installing dependencies, rendering them always inadequate/incomplete.

Been playing around with numtide's blueprint and devshell to set up a dev environment for a #Gradle application - turns out, it's pretty fun! 🎉

What started as just a simple #DevShell ended up with pre-commit hooks, a basic gradle derivation and a #NixOS module with tests.
This should be a good starting point for my next projects.

#Nix continues to be a rabbit hole I love falling into 🌀

https://github.com/raphiz/gradle-nix-example

GitHub - raphiz/gradle-nix-example: Kotlin + Gradle + Nix = ❤️

Kotlin + Gradle + Nix = ❤️. Contribute to raphiz/gradle-nix-example development by creating an account on GitHub.

GitHub