added stuff
This commit is contained in:
parent
937f28770d
commit
236b8c2a6b
907 changed files with 70990 additions and 0 deletions
19
nyx/homes/notashelf/services/shared/tray.nix
Normal file
19
nyx/homes/notashelf/services/shared/tray.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
env = osConfig.modules.usrEnv;
|
||||
in {
|
||||
# assume system is headless if desktop is not set
|
||||
config = lib.mkIf (env.desktop != "") {
|
||||
# fake a tray to let apps start
|
||||
# https://github.com/nix-community/home-manager/issues/2064
|
||||
systemd.user.targets.tray = {
|
||||
Unit = {
|
||||
Description = "Home Manager System Tray";
|
||||
Requires = ["graphical-session-pre.target"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue