overlays: Cleanly comment out the optimal overlay
This commit is contained in:
parent
61ccf5aedd
commit
924ac9dad3
@ -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;
|
||||
}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user