added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 7d4f626b7d
907 changed files with 70990 additions and 0 deletions

View 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"];
};
};
};
}