fix(home): Manually create target.tray
Home manager stable only creates this on xorg. It is fixed in future versions.
This commit is contained in:
parent
8b81c32ec5
commit
6817826e04
1 changed files with 13 additions and 0 deletions
13
modules/home/wayland/default.nix
Normal file
13
modules/home/wayland/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# Fix the "tray.target not found" error.
|
||||
systemd.user.targets.tray = lib.mkIf (!config.xsession.enable) {
|
||||
Unit = {
|
||||
Description = "Home Manager System Tray";
|
||||
Requires = ["graphical-session-pre.target"];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue