mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-08-04 11:38:29 -07:00
feat: add hyprsunset service
This commit is contained in:
parent
46f708b8e0
commit
dec206f1ec
2 changed files with 26 additions and 0 deletions
|
@ -9,6 +9,25 @@ let
|
|||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.user.services = lib.mkIf cfg.bluelight.enable {
|
||||
hyprsunset = {
|
||||
Unit = {
|
||||
Description = "Start the hyprsunset daemon";
|
||||
PartOf = "hyprland-session.target";
|
||||
After = "hyprland-session.target";
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.hyprsunset}/bin/hyprsunset";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "hyprland-session.target" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.hyprpaper.enable = true;
|
||||
|
||||
programs.wlogout.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue