24 lines
614 B
Nix
24 lines
614 B
Nix
# home/desktop/hyprshell.nix (Home-Manager module)
|
|
{ config, pkgs, lib, flakeRoot, ... }:
|
|
{
|
|
xdg.enable = true;
|
|
home.packages = [ pkgs.hyprshell ];
|
|
};
|
|
# Autostart (systemd user service)
|
|
systemd.user.services.hyprshell = {
|
|
Unit = {
|
|
Description = "Hyprshell (window switcher / launcher)";
|
|
PartOf = [ "graphical-session.target" ];
|
|
After = [ "graphical-session.target" ];
|
|
};
|
|
Service = {
|
|
ExecStart = "${pkgs.hyprshell}/bin/hyprshell";
|
|
Restart = "on-failure";
|
|
RestartSec = 1;
|
|
};
|
|
Install = {
|
|
WantedBy = [ "graphical-session.target" ];
|
|
};
|
|
};
|
|
}
|