Today I’m excited to share my first contribution to the NixOS project!
I recently discovered and fixed an issue in the nixpkgs repository, which has now been accepted and merged into the main branch.
The issue was related to the Catppuccin theme for Plymouth package. For those unfamiliar, Plymouth is the boot splash screen utility used in many Linux distributions, including NixOS, and Catppuccin is a popular pastel theme available in different variants.
The problem was that the package only allowed using the default “macchiato” variant, without properly exposing the other beautiful Catppuccin flavors: “latte”, “frappe”, and “mocha”.
The fix was relatively simple but important - I replaced lib.checkListOfEnum
with assert lib.assertOneOf
to properly validate and allow selection of all the defined variants. You can see the complete pull request here:
PR #407409.
It’s a small contribution, but it’s exciting to see your code become part of such an important project. I’m looking forward to testing this in production with the upcoming NixOS 25.05 release!
If you’re a NixOS user who enjoys the Catppuccin aesthetic, you’ll now be able to select any variant for your Plymouth splash screen. This kind of flexibility is exactly what makes the NixOS ecosystem so powerful - everything is configurable to match your preferences.
For anyone interested in contributing to NixOS, I highly recommend it. The community is welcoming, and there are many ways to help, especially with maintaining existing packages or fixing issues like this one.
Thanks for reading!