{ config, lib, pkgs, ... }: { boot = { kernelParams = lib.mkForce [ "ipv6e=1" "quiet" "splash" ]; plymouth = { enable = true; themePackages = [ pkgs.adi1090x-plymouth-themes ]; theme = "abstract_ring_alt"; }; }; # ── HDMI-CEC: Turn on TV when Steam specialisation starts ───────────────────── services.udev.packages = [ pkgs.libcec ]; # ensures cec-utils is in PATH services.blueman.enable = true; services.seatd.enable = true; # A user service that runs once the graphical session (Steam/GameScope) is ready #systemd.user.services.cec-tv-on = { # description = "Turn on TV via HDMI-CEC when entering Steam specialisation"; # wantedBy = [ "graphical-session.target" ]; # after = [ "graphical-session.target" ]; # serviceConfig = { # Type = "oneshot"; # RemainAfterExit = true; # ExecStart = toString ( # pkgs.writeShellScript "cec-tv-on.sh" '' # # Wait a moment for the HDMI link to settle # sleep 3 # # Turn on the TV and set it as active source (most TVs understand this) # ${pkgs.libcec}/bin/cec-client -s -d 1 <