28 lines
688 B
Nix
28 lines
688 B
Nix
{ den, modules, ... }:
|
|
{
|
|
modules.quickshell = {
|
|
homeManager =
|
|
{ pkgs, ... }:
|
|
{
|
|
xdg.configFile."quickshell" = {
|
|
recursive = true;
|
|
source = pkgs.lib.file.mkOutOfStoreSymlink ./quickshell;
|
|
};
|
|
systemd.user.services.quickshell = {
|
|
Unit = {
|
|
Description = "Quickshell daemon";
|
|
After = [ "hyprland-session.target" ];
|
|
};
|
|
Install = {
|
|
WantedBy = [ "default.target" ];
|
|
};
|
|
Service = {
|
|
ExecStart = "${pkgs.quickshell}/bin/quickshell";
|
|
Restart = "on-failure";
|
|
RestartSec = "5s";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|