nixos/docs: fix example for code-generated modules
This commit is contained in:
parent
b0592a3e2e
commit
aa5124d229
@ -133,7 +133,7 @@ true
|
||||
<programlisting>
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let netConfig = { hostName }: {
|
||||
let netConfig = hostName: {
|
||||
networking.hostName = hostName;
|
||||
networking.useDHCP = false;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user