chore(games): nevermind this shit sucks lol

This reverts commit dd2c6d625e.
This commit is contained in:
uku 2025-01-03 09:08:33 +01:00
parent dd2c6d625e
commit 0ec6ffb4c6
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o

View file

@ -1,15 +1,4 @@
{ lib, pkgs, ... }:
let
osuSessionFile =
(pkgs.writeTextDir "share/wayland-sessions/osu.desktop" ''
[Desktop Entry]
Name=osu!
Comment=Free-to-win rhythm game
Exec=${lib.getExe pkgs.gamescope} -- ${lib.getExe pkgs.osu-lazer-bin}
Type=Application
'').overrideAttrs
{ passthru.providedSessions = [ "osu" ]; };
in
{ pkgs, ... }:
{
hardware = {
xone.enable = true;
@ -37,6 +26,4 @@ in
gamemode.enable = true;
};
services.displayManager.sessionPackages = [ osuSessionFile ];
}