Skip to content

Commit

Permalink
Drastically improve steam download speed
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed May 4, 2024
1 parent 8b8b2fa commit 233591a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 2 additions & 0 deletions home-modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ rec {
dunst = import ./dunst.nix;
firefox = import ./firefox.nix;
flameshot = import ./flameshot.nix;
gaming = import ./gaming.nix;
git = import ./git.nix;
gtk = import ./gtk.nix;
hidpi = import ./hidpi.nix;
Expand Down Expand Up @@ -39,6 +40,7 @@ rec {
dunst
firefox
flameshot
gaming
git
gtk
imv
Expand Down
12 changes: 12 additions & 0 deletions home-modules/gaming.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{pkgs, ...}: {
home.packages = with pkgs; [
prismlauncher
mangohud
];

# makes steam download a lot faster
home.file.".steam/steam/steam_dev.cfg".text = ''
@nClientDownloadEnableHTTP2PlatformLinux 0
@fDownloadRateImprovementToAddAnotherConnection 1.0
'';
}
3 changes: 0 additions & 3 deletions modules/gaming.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer

prismlauncher # open source minecraft launcher
protontricks
mangohud
];
}

0 comments on commit 233591a

Please sign in to comment.