nixos/networkmanager: correct example (#295439)
The example pertinent to `fccUnlockScripts` contains wrong (maybe old) key names possibly leading to trial/error while configuring the option. This issue can be avoided updating the example.
This commit is contained in:
parent
f54322490f
commit
43521f9021
|
@ -390,7 +390,7 @@ in
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
default = [ ];
|
default = [ ];
|
||||||
example = literalExpression ''[{ name = "03f0:4e1d"; script = "''${pkgs.modemmanager}/share/ModemManager/fcc-unlock.available.d/03f0:4e1d"; }]'';
|
example = literalExpression ''[{ id = "03f0:4e1d"; path = "''${pkgs.modemmanager}/share/ModemManager/fcc-unlock.available.d/03f0:4e1d"; }]'';
|
||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
List of FCC unlock scripts to enable on the system, behaving as described in
|
List of FCC unlock scripts to enable on the system, behaving as described in
|
||||||
https://modemmanager.org/docs/modemmanager/fcc-unlock/#integration-with-third-party-fcc-unlock-tools.
|
https://modemmanager.org/docs/modemmanager/fcc-unlock/#integration-with-third-party-fcc-unlock-tools.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user