Skip to content

Commit

Permalink
tasks/network-interfaces: Disable network-local-commands service if u…
Browse files Browse the repository at this point in the history
…nnecessary (NixOS#338622)
  • Loading branch information
misuzu authored Dec 14, 2024
2 parents 7182cd2 + a7ef125 commit 9c54c30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/tasks/network-interfaces.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,7 @@ in

systemd.services = {
network-local-commands = {
enable = (cfg.localCommands != "");
description = "Extra networking commands.";
before = [ "network.target" ];
wantedBy = [ "network.target" ];
Expand Down

0 comments on commit 9c54c30

Please sign in to comment.