mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
Merge pull request #18491 from groxxda/network-interfaces
Replace Network-interfaces.target
This commit is contained in:
commit
0906a0f197
44 changed files with 125 additions and 121 deletions
|
@ -171,7 +171,7 @@ in
|
|||
systemd.services = mkIf (!config.networking.firewall.enable) { nat = {
|
||||
description = "Network Address Translation";
|
||||
wantedBy = [ "network.target" ];
|
||||
after = [ "network-interfaces.target" "systemd-modules-load.service" ];
|
||||
after = [ "network-pre.target" "systemd-modules-load.service" ];
|
||||
path = [ pkgs.iptables ];
|
||||
unitConfig.ConditionCapability = "CAP_NET_ADMIN";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue