macbook: remove zen warmup service; drop XFCE fallback session
The zen-beta headless warmup was causing system unresponsiveness on the MacBook's limited hardware. XFCE fallback is unnecessary with Hyprland's emergency mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6f3845aa1b
commit
d66558efae
2 changed files with 0 additions and 27 deletions
|
|
@ -134,25 +134,6 @@ main()
|
|||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
systemd.user.services.zen-warmup = {
|
||||
Unit = {
|
||||
Description = "Pre-warm Zen Browser";
|
||||
After = [ "graphical-session.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.writeShellScript "zen-warmup" ''
|
||||
${inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default}/bin/zen-beta --headless &
|
||||
ZEN_PID=$!
|
||||
sleep 3
|
||||
kill $ZEN_PID 2>/dev/null || true
|
||||
wait $ZEN_PID 2>/dev/null || true
|
||||
''}";
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
systemd.user.services.nemo-warmup = {
|
||||
Unit = {
|
||||
Description = "Pre-warm Nemo file manager libraries";
|
||||
|
|
|
|||
|
|
@ -13,14 +13,6 @@
|
|||
bigclock = true;
|
||||
};
|
||||
|
||||
# Lightweight fallback session — if Hyprland fails after an update,
|
||||
# ly will list XFCE as an alternative without pulling in GNOME's
|
||||
# keyring, tracker, or other heavyweight background services.
|
||||
services.xserver.desktopManager.xfce.enable = true;
|
||||
|
||||
# Thunar is pulled in by XFCE but we use Nemo instead.
|
||||
environment.xfce.excludePackages = [ pkgs.thunar ];
|
||||
|
||||
# Flatpak for ad-hoc app installs via Bazaar
|
||||
services.flatpak.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue