added stuff
This commit is contained in:
parent
937f28770d
commit
236b8c2a6b
907 changed files with 70990 additions and 0 deletions
17
nyx/lib/services.nix
Normal file
17
nyx/lib/services.nix
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue