From f4f8395e0ef04862b354bc6b94c780ad4b997dc3 Mon Sep 17 00:00:00 2001 From: NullBite Date: Fri, 10 May 2024 19:15:01 -0400 Subject: [PATCH] systemd: remove network-online dep from multi-user --- system/profile/base.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system/profile/base.nix b/system/profile/base.nix index 62dd929..ba9b202 100644 --- a/system/profile/base.nix +++ b/system/profile/base.nix @@ -135,6 +135,13 @@ in }; boot.loader.systemd-boot.configurationLimit = lib.mkDefault 15; + + # see: + # https://redd.it/vdz86j + # https://github.com/NixOS/nixpkgs/commit/15d761a525a025de0680b62e8ab79a9d183f313d + # https://discourse.nixos.org/t/why-does-multi-user-target-depend-on-network-online-target/33565 + + systemd.targets.network-online.wantedBy = lib.mkForce []; }) ]; }