25 lines
616 B
Nix
25 lines
616 B
Nix
{ inputs, config, pkgs, system, ... }:
|
|
let
|
|
pkg = inputs.quickshell.packages.${system}.quickshell;
|
|
in
|
|
{
|
|
xdg.configFile."quickshell" = {
|
|
recursive = true;
|
|
source = config.lib.file.mkOutOfStoreSymlink "/home/doloro/dotfiles/quickshell/";
|
|
};
|
|
systemd.user.services.quickshell = {
|
|
Unit = {
|
|
Description = "Quickshell daemon";
|
|
After = [ "hyprland-session.target" ];
|
|
};
|
|
Install = {
|
|
WantedBy = [ "default.target" ];
|
|
};
|
|
Service = {
|
|
ExecStart = "${pkg}/bin/quickshell";
|
|
Restart = "on-failure";
|
|
RestartSec = "5s";
|
|
};
|
|
};
|
|
}
|