Epsilon_02

View original page

@Epsilon_02@chaos.social · Joined ⁨Nov⁩ ⁨2021⁩

Software Engineer (#TS, #JS, #Rust, #C#, #Java, #Python).
Using #NixOS since late 2023.

Diagnosed with #MEcfs since mid 2024, so work at a job currently not possible. At some good days working on little projects or tinkering on my personal #NixOS configuration.

Replying to a post on ⁨troet.cafe⁩

@IncredibleLaser yes, but with flake-parts it changes a little bit, for the outer passes `inputs` and `self` and the inner one (what also @vivekanandanks uses in their example) is for `pkgs`, `config`, `lib` and so on which gets passed directly into the module and does not come from outside of the module. At least that's how I understood this.
E.g.
{inputs, self, ...}: {
flake.nixosModules.somemodule = {pkgs, config, lib, ...}: {
...
}
}
But these are optional when you only pass `...`