nixos/thelounge: add network-online.target to after & wants

This commit adds network-online.target to after & wants of
thelounge.service. Fixes #512314.
This commit is contained in:
Cheng Shao
2026-04-22 11:31:08 +02:00
parent 022e19fa47
commit 8e831eb02b
@@ -112,6 +112,8 @@ in
systemd.services.thelounge = {
description = "The Lounge web IRC client";
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ];
wants = [ "network-online.target" ];
preStart = "ln -sf ${pkgs.writeText "config.js" configJsData} ${dataDir}/config.js";
environment.THELOUNGE_PACKAGES = mkIf (cfg.plugins != [ ]) "${plugins}";
serviceConfig = {