overlays: Cleanly comment out the optimal overlay

This commit is contained in:
PapaTutuWawa 2021-08-30 11:46:39 +02:00
parent 61ccf5aedd
commit 924ac9dad3

View File

@ -15,26 +15,37 @@ in {
}; };
} }
#let /*
# # NOTE: This is a really messy solution let
# buildFHSUserEnvBubblewrap = prev.callPackage ../packages/build-support/build-fhs-userenv-bubblewrap {}; # NOTE: This is a really messy solution
#in { buildFHSUserEnvBubblewrap = prev.callPackage ../packages/build-support/build-fhs-userenv-bubblewrap {};
# steamPackages = prev.steamPackages.override { in {
# buildFHSUserEnv = buildFHSUserEnvBubblewrap; steamPackages = prev.steamPackages.override {
# # Include gamemode in the FHS buildFHSUserEnv = buildFHSUserEnvBubblewrap;
# #extraPkgs = (pkgs: with pkgs; [ gamemode ]); # Include gamemode in the FHS
# }; #extraPkgs = (pkgs: with pkgs; [ gamemode ]);
# };
# steam = prev.steamPackages.steam-fhsenv.overrideAttrs (old: {
# specifyHomeDirs = true; steam = lib.overrideDerivation prev.steamPackages.steam-fhsenv (old: {
# chdirTo = "/home/$USER"; specifyHomeDirs = true;
# }); mountInHome = [
# #steam = final.steamPackages.steam-fhsenv.override { ".steam"
# # extraPkgs = pkgs: with pkgs; [ gamemode ]; ".local/share/Steam"
# #}; ];
# steam-run = final.steam.run; chdirTo = "/home/$USER";
# steam-run-native = (final.steam.override { additionalBlacklist = [ "/mnt" ];
# nativeOnly = true; additionalMounts = [ "/mnt/Storage/Games/SteamLibrary" ];
# }); #extraEnv = {
# steamcmd = final.steamPackages.steamcmd; # DRI_PRIME = "1";
#} #};
});
#steam = final.steamPackages.steam-fhsenv.override {
# extraPkgs = pkgs: with pkgs; [ gamemode ];
#};
steam-run = final.steam.run;
steam-run-native = (final.steam.override {
nativeOnly = true;
});
steamcmd = final.steamPackages.steamcmd;
}
*/