Unverified Commit 842f900e authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

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

nixos/docs: fix example for code-generated modules
parents 0b938eae aa5124d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ true
<programlisting>
{ config, pkgs, ... }:

let netConfig = { hostName }: {
let netConfig = hostName: {
  networking.hostName = hostName;
  networking.useDHCP = false;
};