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
[โ€“] balsoft@lemmy.ml 3 points 1 month ago (2 children)

BTW, you shouldn't really need extraSpecialArgs in most cases; setting a _module.args config option should be enough.

[โ€“] degen@midwest.social 2 points 1 month ago (1 children)

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 ๐Ÿ˜‚

[โ€“] balsoft@lemmy.ml 1 points 1 month ago

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).

[โ€“] InnerScientist@lemmy.world 1 points 1 month ago (1 children)

Any sites you can link that explain the differences and how to use it?

[โ€“] balsoft@lemmy.ml 2 points 1 month ago

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.