Files
nixos/hosts/tuxcomp/default.nix
2026-09-26 02:14:34 +02:00

21 lines
526 B
Nix

{ 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 ];
});
})
];
}