Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions nixos-config/hosts/yui/games.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{ flake-inputs, pkgs, ... }:
{
flake-inputs,
pkgs,
config,
...
}:
let
inherit (flake-inputs) nix-gaming nixpkgs-unstable;
pkgsUnstable = nixpkgs-unstable.legacyPackages.${pkgs.system};
Expand All @@ -14,8 +19,27 @@ in
environment.systemPackages =
let
osuLazer = pkgsGames.osu-lazer-bin.override { gmrun_enable = false; };

# TODO(tlater): Star Citizen doesn't currently work due to EAC
# not liking the wine version we're using (10.0+).
#
# Since this is required for ntsync to work, guess we'll have to
# wait for EAC to "fix itself", as the LUG installer comments
# put it.
starCitizen = pkgsGames.star-citizen.override {
inherit (pkgsUnstable) proton-ge-bin;

useUmu = true;
location = "$HOME/.local/share/wine-prefixes/star-citizen";

gameScopeEnable = true;
gameScopeArgs = config.programs.gamescope.args;
};
in
[ osuLazer ];
[
osuLazer
starCitizen
];

# Make steam controller work
hardware.steam-hardware.enable = true;
Expand Down