Files
home-manager-dotfiles/hyprland-services.nix
T
2026-09-03 12:49:03 -04:00

61 lines
1.5 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"
];
};
};
awww = {
Unit = {
Description = "An Answer to your Wayland Wallpaper Woes";
Documentation = "man:awww-daemon(1)";
PartOf = [
"graphical-session.target"
];
After = [
"graphical-session.target"
"wayland-session@hyprland.desktop.target"
];
Requisite = [
"graphical-session.target"
"wayland-session@hyprland.desktop.target"
];
WantedBy = [
"graphical-session.target"
"wayland-session@hyprland.desktop.target"
];
};
Service = {
Type = "simple";
ExecStart = "${pkgs.awww}/bin/awww-daemon";
Restart = "on-failure";
RestartSec = "1";
Slice = "app-graphical.slice";
};
Install = {
WantedBy = [
"graphical-session.target"
"wayland-session@hyprland.desktop.target"
];
};
};
};
}