graphical: move nvidia to toplevel, remove
This commit is contained in:
parent
b9b4835a07
commit
a128529f97
2 changed files with 0 additions and 31 deletions
|
|
@ -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" ];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue