Merge pull request #114128 from jorsn/docs.fix-hostName

nixos/docs: fix example for code-generated modules
This commit is contained in:
Maximilian Bosch
2021-04-09 18:05:51 +02:00
committed by GitHub

View File

@@ -133,7 +133,7 @@ true
<programlisting>
{ config, pkgs, ... }:
let netConfig = { hostName }: {
let netConfig = hostName: {
networking.hostName = hostName;
networking.useDHCP = false;
};