E-Ink News Daily

← Back to list

`specialArgs` considered harmful

The article argues that using specialArgs in Nix/NixOS to pass inputs and shared data between modules reduces portability and makes configuration reuse difficult. The author observed this problem when managing 10+ machines, where specialArgs grew to include custom helper functions and static data that broke module shareability.

Background

NixOS configuration management increasingly uses flake-based setups where specialArgs is commonly used to inject shared dependencies into module evaluation contexts. This article addresses a practical pain point in the Nix community.

Source
Lobsters
Published
Oct 8, 2026 at 08:16 PM
Score
5.0 / 10