From d2d905b3304a6d03a7e1c95ceca24f3dbb8e4f23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Thu, 14 Aug 2025 09:25:08 +0800 Subject: [PATCH] WIP: feat(games): Install Star Citizen --- nixos-config/hosts/yui/games.nix | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/nixos-config/hosts/yui/games.nix b/nixos-config/hosts/yui/games.nix index 1684200d..f33641d5 100644 --- a/nixos-config/hosts/yui/games.nix +++ b/nixos-config/hosts/yui/games.nix @@ -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}; @@ -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;