nixos/docs: fix example for code-generated modules
This commit is contained in:
parent
b0592a3e2e
commit
aa5124d229
@ -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