1
1
Fork 0

imperium: Get TF2 working

DRG also runs 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 921c429f14
2 changed files with 10 additions and 0 deletions

View File

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

View File

@ -41,6 +41,13 @@
extraGroups = [ "networkmanager" ]; 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; [ environment.systemPackages = with pkgs; [
firefox firefox
libreoffice libreoffice