nixos/networkd-dispatcher: fix warning to actually be correct (#542203)

This commit is contained in:
Martin Weinelt
2026-07-15 11:37:32 +00:00
committed by GitHub

View File

@@ -93,8 +93,8 @@ in
config = mkIf cfg.enable {
warnings = mkIf (!config.networking.useNetworkd) [
"services.networkd-dispatcher will not execute any scripts unless networking.useNetworkd is enabled."
warnings = mkIf (!config.systemd.network.enable) [
"services.networkd-dispatcher will not execute any scripts unless networkd is enabled, either via `systemd.network.enable` or via `networking.useNetworkd`."
];
systemd = {