feat: add caleastia shell

This commit is contained in:
danny 2025-08-19 23:28:52 +08:00
parent b9a369436d
commit 146418764e
20 changed files with 926 additions and 286 deletions

31
home/user/quickshell.nix Normal file
View file

@ -0,0 +1,31 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
quickshell
];
systemd.user.services.quickshell = {
Unit = {
Description = "Quickshell";
After = [ "graphical-session.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {
type = "exec";
ExecStart = "${pkgs.quickshell}/bin/quickshell";
Restart = "on-failure";
RestartSec = "5s";
TimeoutStopSec = "5s";
Environment = [
"QT_QPA_PLATFORM=wayland"
];
Slice = "session.slice";
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
}