1
1
Fork 0

imperium: Get TF2 working

Requires launch option: LD_PRELOAD=$LD_PRELOAD:/run/current-system/sw/lib/libtcmalloc_minimal.so %command%

DRG also runs through Proton but at a prohibitive framerate whenever things are onscreen
This commit is contained in:
Tim Van Baak 2023-12-16 11:34:20 -08:00
parent 05357d5423
commit 4676c9e91d
2 changed files with 10 additions and 0 deletions

View File

@ -61,6 +61,9 @@
system = "x86_64-linux";
modules = [
self.nixosModules.beatific
({ ... }: {
environment.systemPackages = [ nixpkgs-2311.legacyPackages."i686-linux".gperftools ];
})
./machine/imperium
];
};

View File

@ -41,6 +41,13 @@
extraGroups = [ "networkmanager" ];
};
# Configs needed to run TF2 on integrated graphics
programs.steam.enable = true;
nixpkgs.config.allowUnfree = true;
services.xserver.videoDrivers = [ "i915" ];
hardware.opengl.enable = true;
hardware.opengl.driSupport32Bit = true;
environment.systemPackages = with pkgs; [
firefox
libreoffice