{ pkgs, lib, config, ... }: { config = lib.mkIf config.alyraffauf.desktop.sway.autoRotate { home.packages = with pkgs; [rot8]; wayland.windowManager.sway.config.startup = [ {command = "${lib.getExe pkgs.rot8}";} ]; }; }