refactor(gaming): remove nix-gaming input

This commit is contained in:
ooks-io 2024-03-30 20:27:30 +13:00
parent 82c74b845b
commit 0a53374588
2 changed files with 1 additions and 23 deletions

View file

@ -74,15 +74,6 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-gaming = {
#NEEDFIX:url = "github:fufexan/nix-gaming";
url ="github:NotAShelf/nix-gaming";
};
ssbm-nix = {
url = "github:djanatyn/ssbm-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
zjstatus.url = "github:dj95/zjstatus"; zjstatus.url = "github:dj95/zjstatus";
}; };

View file

@ -16,23 +16,19 @@ let
keyutils keyutils
mangohud mangohud
winetricks winetricks
inputs.nix-gaming.packages.${pkgs.system}.wine-ge
protontricks protontricks
]; ];
}; };
in in
{ {
imports = [
inputs.nix-gaming.nixosModules.pipewireLowLatency
];
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
hardware.opengl.extraPackages = [ pkgs.gamescope ]; hardware.opengl.extraPackages = [ pkgs.gamescope ];
programs = { programs = {
steam = { steam = {
enable = true; enable = true;
package = steamFix; package = steamFix;
extraCompatPackages = [ pkgs.proton-ge-bin.steamcompattool ];
}; };
gamescope = { gamescope = {
enable = true; enable = true;
@ -52,14 +48,5 @@ in
}; };
}; };
}; };
# services.pipewire.lowLatency.enable = true;
nixpkgs.overlays = [
(_: prev: {
steam = prev.steam.override {
extraProfile = "export STEAM_EXTRA_COMPAT_TOOLS_PATHS='${inputs.nix-gaming.packages.${pkgs.system}.proton-ge}'";
};
})
];
}; };
} }