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

17
nyx/lib/services.nix Normal file
View file

@ -0,0 +1,17 @@
{lib, ...}: let
# make a service that is a part of the graphical session target
mkGraphicalService = lib.recursiveUpdate {
Unit.PartOf = ["graphical-session.target"];
Unit.After = ["graphical-session.target"];
Install.WantedBy = ["graphical-session.target"];
};
# make a service that is a part of the hyprland session target
mkHyprlandService = lib.recursiveUpdate {
Unit.PartOf = ["graphical-session.target"];
Unit.After = ["graphical-session.target"];
Install.WantedBy = ["hyprland-session.target"];
};
in {
inherit mkGraphicalService mkHyprlandService;
}