mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 14:41:18 +00:00
nixos/networkd-dispatcher: fix warning to actually be correct (#542203)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user