hm: add tray.target

This commit is contained in:
Motiejus Jakštys 2023-10-09 05:52:49 +03:00
parent 8e5b87c86a
commit 2dd6b04b3a
1 changed files with 8 additions and 0 deletions

View File

@ -210,6 +210,14 @@
lockCmd = ''${pkgs.bash}/bin/bash -c "${pkgs.coreutils}/bin/sleep 0.2; ${pkgs.xorg.xset}/bin/xset dpms force off; /run/wrappers/bin/slock"'';
};
# https://github.com/nix-community/home-manager/issues/2064
systemd.user.targets.tray = {
Unit = {
Description = "Home Manager System Tray";
Requires = ["graphical-session-pre.target"];
};
};
# thanks K900
gtk = {
enable = true;