DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

503bc69948ca09d1ff70038e7819954b5d65dac0 — Jonni Liljamo a month ago 175e066
feat(roles/gaming): make gamescope work in steam-fhs
1 files changed, 23 insertions(+), 0 deletions(-)

M roles/gaming/steam.nix
M roles/gaming/steam.nix => roles/gaming/steam.nix +23 -0
@@ 12,6 12,29 @@ in {
      "steam"
    ];

    nixpkgs.config.packageOverrides = pkgs: {
      steam = pkgs.steam.override {
        extraPkgs = pkgs:
          with pkgs; [
            # for gamescope
            # https://github.com/NixOS/nixpkgs/issues/162562#issuecomment-1523177264
            xorg.libXcursor
            xorg.libXi
            xorg.libXinerama
            xorg.libXScrnSaver
            libpng
            libpulseaudio
            libvorbis
            stdenv.cc.cc.lib
            libkrb5
            keyutils

            # fallback fonts (e.g. for Don't Get Lost)
            liberation_ttf
          ];
      };
    };

    programs.steam = {
      enable = true;
      remotePlay.openFirewall = false;