···8989 for a running system, entries can be removed for a more
9090 minimal NixOS installation.
91919292- Note: If `pkgs.nano` is removed from this list,
9393- make sure another editor is installed and the
9494- `EDITOR` environment variable is set to it.
9595- Environment variables can be set using
9696- {option}`environment.variables`.
9797-9892 Like with systemPackages, packages are installed to
9993 {file}`/run/current-system/sw`. They are
10094 automatically available to all users, and are
···190190 type = types.nullOr types.bool;
191191 default = null;
192192 description = lib.mdDoc ''
193193- Whether this interface should be configured with dhcp.
194194- Null implies the old behavior which depends on whether ip addresses
195195- are specified or not.
193193+ Whether this interface should be configured with DHCP. Overrides the
194194+ default set by {option}`networking.useDHCP`. If `null` (the default),
195195+ DHCP is enabled if the interface has no IPv4 addresses configured
196196+ with {option}`networking.interfaces.<name>.ipv4.addresses`, and
197197+ disabled otherwise.
196198 '';
197199 };
198200···640642 } ];
641643 };
642644 description = lib.mdDoc ''
643643- The configuration for each network interface. If
644644- {option}`networking.useDHCP` is true, then every
645645- interface not listed here will be configured using DHCP.
645645+ The configuration for each network interface.
646646647647 Please note that {option}`systemd.network.netdevs` has more features
648648 and is better maintained. When building new things, it is advised to
···13041304 default = true;
13051305 description = lib.mdDoc ''
13061306 Whether to use DHCP to obtain an IP address and other
13071307- configuration for all network interfaces that are not manually
13081308- configured.
13071307+ configuration for all network interfaces that do not have any manually
13081308+ configured IPv4 addresses.
13091309 '';
13101310 };
13111311
+5-1
nixos/tests/networking.nix
···185185 nodes.router = router;
186186 nodes.client = { lib, ... }: {
187187 # Disable test driver default config
188188- networking.interfaces = lib.mkForce {};
188188+ networking.interfaces = lib.mkForce {
189189+ # Make sure DHCP defaults correctly even when some unrelated config
190190+ # is set on the interface (nothing, in this case).
191191+ enp1s0 = {};
192192+ };
189193 networking.useNetworkd = networkd;
190194 virtualisation.interfaces.enp1s0.vlan = 1;
191195 };
···23792379 - hledger-chart # failure in job https://hydra.nixos.org/build/233205387 at 2023-09-02
23802380 - hledger-diff # failure in job https://hydra.nixos.org/build/233199639 at 2023-09-02
23812381 - hledger-flow # failure in job https://hydra.nixos.org/build/233252169 at 2023-09-02
23822382- - hledger-iadd # failure in job https://hydra.nixos.org/build/233198670 at 2023-09-02
23832382 - hledger-irr # failure in job https://hydra.nixos.org/build/233230276 at 2023-09-02
23842383 - hledger-makeitso # failure in job https://hydra.nixos.org/build/233213046 at 2023-09-02
23852384 - hledger-vty # failure in job https://hydra.nixos.org/build/233191782 at 2023-09-02
···177177 hangups = throw "hangups was removed because Google Hangouts has been shut down"; # added 2023-02-13
178178 hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
179179 hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
180180+ hglib = python-hglib; # added 2023-10-13
180181 HTSeq = htseq; # added 2023-02-19
181182 hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29
182183 ihatemoney = throw "ihatemoney was removed because it is no longer maintained downstream"; # added 2023-04-08