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:
parent
05357d5423
commit
4676c9e91d
|
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue