feat(gaming): restructure configuration

This commit is contained in:
Felix Schröter 2023-07-22 15:06:19 +02:00
parent 5928e539fb
commit f0d09a9d28
Signed by: felschr
GPG key ID: 671E39E6744C807D
5 changed files with 20 additions and 32 deletions
home/gaming

View file

@ -1,17 +1,6 @@
{ config, pkgs, nixosConfig, ... }:
let
steam = pkgs.steam.override {
extraLibraries = pkgs:
with nixosConfig.hardware.opengl;
if pkgs.hostPlatform.is64bit then
[ package ] ++ extraPackages
else
[ package32 ] ++ extraPackages32;
};
in {
home.packages = [ steam steam.run pkgs.protontricks ];
{ pkgs, ... }:
{
home.file = {
proton-ge = let version = "GE-Proton7-54";
in {