ft (wip): big initial config
This commit is contained in:
21
hosts/tuxcomp/default.nix
Normal file
21
hosts/tuxcomp/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ 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 ];
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user