ft: tuxcomp config

This commit is contained in:
2026-09-29 17:16:34 +02:00
parent 31b4263ddd
commit 9f4f246e7a
10 changed files with 104 additions and 15 deletions

View File

@@ -1,20 +1,26 @@
{ config, pkgs, ... }:
{ lib, config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
./gaming.nix
./wireguard.nix
];
# TODO: literally this whole configuration lmao
networking.hostName = "tuxcomp";
system.stateVersion = "26.05";
# 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 ];
});
})
];
#nixpkgs.overlays = [
# (_final: prev: {
# gamescope = prev.gamescope.overrideAttrs (old: {
# patches = (old.patches or [ ]) ++ [ ../../patches/gamescope-stretch-aspect.patch ];
# });
# })
#];
}