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
# buildFHSUserEnvBubblewrap = prev.callPackage ../packages/build-support/build-fhs-userenv-bubblewrap {};
#in {
# steamPackages = prev.steamPackages.override {
# buildFHSUserEnv = buildFHSUserEnvBubblewrap;
# # Include gamemode in the FHS
# #extraPkgs = (pkgs: with pkgs; [ gamemode ]);
/*
let
# NOTE: This is a really messy solution
buildFHSUserEnvBubblewrap = prev.callPackage ../packages/build-support/build-fhs-userenv-bubblewrap {};
in {
steamPackages = prev.steamPackages.override {
buildFHSUserEnv = buildFHSUserEnvBubblewrap;
# Include gamemode in the FHS
#extraPkgs = (pkgs: with pkgs; [ gamemode ]);
};
steam = lib.overrideDerivation prev.steamPackages.steam-fhsenv (old: {
specifyHomeDirs = true;
mountInHome = [
".steam"
".local/share/Steam"
];
chdirTo = "/home/$USER";
additionalBlacklist = [ "/mnt" ];
additionalMounts = [ "/mnt/Storage/Games/SteamLibrary" ];
#extraEnv = {
# DRI_PRIME = "1";
#};
#
# steam = prev.steamPackages.steam-fhsenv.overrideAttrs (old: {
# specifyHomeDirs = true;
# chdirTo = "/home/$USER";
# });
# #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;
#}
});
#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;
}
*/