git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/docs: fix example for code-generated modules
commitaa5124d2292caaa1a959f3bf0d6a805e238a47e9 authorJohannes Rosenberger <johannes@jorsn.eu> dateTue 23 Feb 2021, 15:38 (6 years ago) parentb0592a3
1 file changed+1−1
nixos/doc/manual/configuration/modularity.xml+1−1
nixos/doc/manual/configuration/modularity.xml+1−1
@@ -133,7 +133,7 @@ true
133133<programlisting>
134134{ config, pkgs, ... }:
135135
136−let netConfig = { hostName }: {
136+let netConfig = hostName: {
137137 networking.hostName = hostName;
138138 networking.useDHCP = false;
139139};