graphical: move nvidia to toplevel, remove

This commit is contained in:
Elec3137 2026-03-23 21:02:35 -07:00
commit a128529f97
2 changed files with 0 additions and 31 deletions

View file

@ -1,31 +0,0 @@
{
lib,
config,
...
}:
let
name = "games";
cfg = config.nixowos.graphical.${name};
in
{
imports = [
./mangohud.nix
./steam.nix
];
options.nixowos.graphical.${name} = {
enable = lib.mkEnableOption name;
};
config = lib.mkIf cfg.enable {
nixowos.graphical.${name} = lib.mkDefault {
mangohud.enable = true;
steam.enable = true;
};
# load ntsync, which can improve performance
# for games running through wine/proton using it
boot.kernelModules = [ "ntsync" ];
};
}