Files
home-manager-dotfiles/hyprland-services.nix
T
2026-09-02 14:03:18 -04:00

47 lines
1.1 KiB
Nix

{ pkgs, ... }:
{
systemd.user.services = {
hyprlauncher = {
Unit = {
Description = "A launcher for the hypr ecosystem.";
After = [
"graphical-session.target"
"wayland-session@hyprland.desktop.target"
];
};
Service = {
ExecStart = "${pkgs.hyprlauncher}/bin/hyprlauncher -d";
Restart = "on-failure";
Slice = "app-graphical.slice";
};
Install = {
WantedBy = [
"graphical-session.target"
"wayland-session@hyprland.desktop.target"
];
};
};
hyprpaper = {
Unit = {
Description = "A simple background program for the hypr ecosystem.";
After = [
"graphical-session.target"
"wayland-session@hyprland.desktop.target"
];
};
Service = {
ExecStart = "${pkgs.hyprpaper}/bin/hyprpaper";
Restart = "on-failure";
Slice = "app-graphical.slice";
};
Install = {
WantedBy = [
"graphical-session.target"
"wayland-session@hyprland.desktop.target"
];
};
};
};
}