{ config, pkgs, ... }: { imports = [ ./hardware-configuration.nix ../../modules ./gaming.nix ]; # TODO: literally this whole configuration lmao # adds a `stretch_aspect` scaler (Valve/gamescope#927) and lets `--rt` use the # rtprio limit from modules/gaming.nix instead of CAP_SYS_NICE. nixpkgs.overlays = [ (_final: prev: { gamescope = prev.gamescope.overrideAttrs (old: { patches = (old.patches or [ ]) ++ [ ../../patches/gamescope-stretch-aspect.patch ]; }); }) ]; }