chore(games): nevermind this shit sucks lol
This reverts commit dd2c6d625e
.
This commit is contained in:
parent
dd2c6d625e
commit
0ec6ffb4c6
1 changed files with 1 additions and 14 deletions
|
@ -1,15 +1,4 @@
|
||||||
{ lib, pkgs, ... }:
|
{ 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
|
|
||||||
{
|
{
|
||||||
hardware = {
|
hardware = {
|
||||||
xone.enable = true;
|
xone.enable = true;
|
||||||
|
@ -37,6 +26,4 @@ in
|
||||||
|
|
||||||
gamemode.enable = true;
|
gamemode.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.displayManager.sessionPackages = [ osuSessionFile ];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue