this post was submitted on 14 Aug 2025
17 points (100.0% liked)
Nix / NixOS
2445 readers
1 users here now
Main links
Videos
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
BTW, you shouldn't really need
extraSpecialArgs
in most cases; setting a_module.args
config option should be enough.Gotta love that I've had my daily use machine running nixos for a couple years now and I don't even know what that is ๐
This is needed for Flake-based setups where you use some NixOS modules that aren't in Nixpkgs (home-manager being the most common use-case).
Any sites you can link that explain the differences and how to use it?
There's a short explanation in this section: https://nixos.org/manual/nixos/stable/#sec-option-types-submodule (look for
specialArgs
) and in this section: https://nixos.org/manual/nixpkgs/stable/#module-system-lib-evalModules-param-specialArgs. I don't know whether it's documented properly somewhere.