Merge pull request #114128 from jorsn/docs.fix-hostName
nixos/docs: fix example for code-generated modules
This commit is contained in:
commit
842f900e73
@ -133,7 +133,7 @@ true
|
|||||||
<programlisting>
|
<programlisting>
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let netConfig = { hostName }: {
|
let netConfig = hostName: {
|
||||||
networking.hostName = hostName;
|
networking.hostName = hostName;
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user