diff --git a/graphical/games/default.nix b/graphical/games/default.nix deleted file mode 100644 index e572ba5..0000000 --- a/graphical/games/default.nix +++ /dev/null @@ -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" ]; - }; -} diff --git a/graphical/nvidia.nix b/nvidia.nix similarity index 100% rename from graphical/nvidia.nix rename to nvidia.nix