16 lines
273 B
Nix
16 lines
273 B
Nix
{ lib, config, pkgs, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf;
|
|
cfg = config.ooknet.gaming.gamescope;
|
|
in
|
|
|
|
{
|
|
config = mkIf cfg.enable {
|
|
hardware.opengl.extraPackages = [ pkgs.gamescope ];
|
|
programs.gamescope = {
|
|
enable = true;
|
|
capSysNice = true;
|
|
};
|
|
};
|
|
}
|