We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c60d521 + 96acd09 commit 83d73e9Copy full SHA for 83d73e9
nixos/default.nix
@@ -1,12 +1,15 @@
1
{
2
configuration ? import ./lib/from-env.nix "NIXOS_CONFIG" <nixos-config>,
3
system ? builtins.currentSystem,
4
+ # This should only be used for special arguments that need to be evaluated when resolving module structure (like in imports).
5
+ # For everything else, there's _module.args.
6
+ specialArgs ? { },
7
}:
8
9
let
10
11
eval = import ./lib/eval-config.nix {
- inherit system;
12
+ inherit system specialArgs;
13
modules = [ configuration ];
14
};
15
0 commit comments