Skip to content

Commit

Permalink
fix(hosts/tower): disable network wait-online service
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelreyrol committed Feb 11, 2025
1 parent 0dbe476 commit d301e77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions hosts/tower/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
initrd = {
availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
kernelModules = [ ];
systemd.network.wait-online.enable = lib.mkForce false;
};

kernelPackages = pkgs.linuxKernel.packages.linux_6_6;
Expand Down
3 changes: 2 additions & 1 deletion mixins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
useDHCP = lib.mkDefault true;
};

systemd.services.NetworkManager-wait-online.enable = false;
systemd.network.wait-online.enable = lib.mkForce false;
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;

services.journald.extraConfig = ''
SystemMaxUse=100M
Expand Down

0 comments on commit d301e77

Please sign in to comment.