mirror of
https://github.com/ryan4yin/nixos-and-flakes-book
synced 2024-11-22 20:23:10 +00:00
fix: style
This commit is contained in:
parent
1feb088490
commit
fe6e315c9a
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ Or you can achieve the same effect using the `_module.args` option:
|
|||
|
||||
Choose one of the two methods above to modify your configuration, and then you can use the `inputs` parameter in `/etc/nixos/configuration.nix`. The module system will automatically match the `inputs` defined in `specialArgs` and inject it into all submodules that require this parameter:
|
||||
|
||||
```nix{4}
|
||||
```nix{3}
|
||||
# Nix will match by name and automatically inject the inputs
|
||||
# from specialArgs/_module.args into the third parameter of this function
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
|
Loading…
Reference in a new issue