2023-08-04 01:31:28 -03:00
|
|
|
{ config, pkgs, inputs, ... }:
|
|
|
|
let
|
|
|
|
pkgs' = import inputs.nixpkgs-fixed-steam {
|
|
|
|
inherit (pkgs) system config;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
2023-02-23 14:22:41 -03:00
|
|
|
programs.steam.enable = true;
|
2023-08-04 01:31:28 -03:00
|
|
|
programs.steam.package = pkgs'.steam.override {
|
2023-05-06 17:25:06 -03:00
|
|
|
extraLibraries = pkgs: with config.hardware.opengl;
|
|
|
|
if pkgs.hostPlatform.is64bit
|
|
|
|
then [ package ] ++ extraPackages
|
|
|
|
else [ package32 ] ++ extraPackages32;
|
|
|
|
|
|
|
|
extraPkgs = pkgs: with pkgs; [
|
|
|
|
capitaine-cursors
|
|
|
|
bibata-cursors
|
|
|
|
mangohud
|
|
|
|
xdg-user-dirs
|
|
|
|
];
|
|
|
|
};
|
2023-05-21 18:57:54 -03:00
|
|
|
environment.systemPackages = with pkgs; [
|
2023-02-23 14:22:41 -03:00
|
|
|
protontricks
|
2023-10-26 11:08:51 -03:00
|
|
|
bottles
|
2023-02-23 14:22:41 -03:00
|
|
|
];
|
|
|
|
}
|