Skip to content

Commit

Permalink
fix(user-systemd): Having new units wantedBy default.target lead to
Browse files Browse the repository at this point in the history
timing problems

Symptoms seemed like dbus probles: gnome-keyring no longer unlocking and
random dialogs getting stuck.
  • Loading branch information
workflow committed Nov 24, 2024
1 parent 9ed631d commit 0c39d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion home/sound-levels-maintainer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ in {
Description = "Maintain input/output gain/volume levels";
Requires = ["obs-mic.service"];
};
Install.WantedBy = ["default.target"];
Install.WantedBy = ["obs-mic.service"];
Service = {
Environment = "PATH=$PATH:/run/current-system/sw/bin";
ExecStart = "${sound-levels-maintainer}/bin/sound-levels-maintainer";
Expand Down
2 changes: 1 addition & 1 deletion home/virtual-cable/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ in {
Description = "Set up virtualMic and virtualSpeaker for OBS";
Requires = ["wireplumber.service"];
};
Install.WantedBy = ["default.target"];
Install.WantedBy = ["wireplumber.service"];
Service = {
Environment = "PATH=$PATH:/run/current-system/sw/bin";
ExecStartPre = "${pkgs.coreutils}/bin/sleep 5"; # TODO: Find a better way to wait for WirePlumber to fully start
Expand Down

0 comments on commit 0c39d35

Please sign in to comment.