Skip to content

Commit

Permalink
nixos/systemd: Explicitly put default path packages after others
Browse files Browse the repository at this point in the history
This fixes the dhcpcd issue in NixOS#76969,
which was exposed by NixOS#75031
introducing changes in the module ordering and therefore option ordering
too.

The dhcpcd issue would also be fixable by explicitly putting
dhcpcd's paths before others, however it makes more sense for systemd's
default paths to be after all others by default, since they should only
be a fallback, which is how binary finding will work if they come after.
  • Loading branch information
infinisil committed Jan 6, 2020
1 parent 2e8fc97 commit 9327e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ let
serviceConfig = { name, config, ... }: {
config = mkMerge
[ { # Default path for systemd services. Should be quite minimal.
path =
path = mkAfter
[ pkgs.coreutils
pkgs.findutils
pkgs.gnugrep
Expand Down

0 comments on commit 9327e1c

Please sign in to comment.