Skip to content

Commit

Permalink
system/nixos/modules: Fix statix check in network module
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMaxMur committed Jan 21, 2025
1 parent 0334ea2 commit 5fe6f53
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions system/nixos/modules/network/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ in
};

config = mkIf cfg.enable {
systemd.services.NetworkManager-wait-online.enable = false;
systemd.services.systemd-networkd-wait-online.enable = mkForce false;
systemd = {
network.enable = true;

systemd.network.enable = true;
services = {
NetworkManager-wait-online.enable = false;
systemd-networkd-wait-online.enable = mkForce false;
};
};

networking = {
firewall = {
Expand Down

0 comments on commit 5fe6f53

Please sign in to comment.