Files
dotfiles/config/modules/quickshell/quickshell.nix
2026-02-21 17:13:35 +00:00

33 lines
744 B
Nix

{ den, modules, ... }:
{
modules.quickshell = {
homeManager =
{
pkgs,
lib,
config,
...
}:
{
home.file.".config/quickshell" = {
recursive = true;
source = config.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";
};
};
};
};
}