ft: tuxcomp config
This commit is contained in:
@@ -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 ];
|
||||
# });
|
||||
# })
|
||||
#];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user