diff --git a/home/programs/discord.nix b/home/programs/discord.nix index 8a89a6d..eeb5634 100644 --- a/home/programs/discord.nix +++ b/home/programs/discord.nix @@ -15,8 +15,6 @@ in Description = "Automatically start Discord on Login"; # Only runs on sessions with a graphical target like X11 or Wayland. Wants = [ "graphical.target" ]; - # Only run after the network is online. - After = [ "nss-lookup.target" ]; StartLimitIntervalSec = 300; StartLimitBurst = 10; }; diff --git a/home/programs/slack.nix b/home/programs/slack.nix index d0c29a2..ce8bca5 100644 --- a/home/programs/slack.nix +++ b/home/programs/slack.nix @@ -17,14 +17,13 @@ in OnCalendar = "Mon..Fri 09..18:*:*"; }; Install = { - WantedBy = [ "default.target" ]; + WantedBy = [ "timers.target" ]; }; }; services.slack = { Unit = { Description = "Slack Desktop Client"; Wants = [ "graphical.target" ]; - After = [ "nss-lookup.target" ]; StartLimitIntervalSec = 300; StartLimitBurst = 10; };