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
|
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 = 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: {
|
#steam = final.steamPackages.steam-fhsenv.override {
|
||||||
# specifyHomeDirs = true;
|
# extraPkgs = pkgs: with pkgs; [ gamemode ];
|
||||||
# chdirTo = "/home/$USER";
|
#};
|
||||||
# });
|
steam-run = final.steam.run;
|
||||||
# #steam = final.steamPackages.steam-fhsenv.override {
|
steam-run-native = (final.steam.override {
|
||||||
# # extraPkgs = pkgs: with pkgs; [ gamemode ];
|
nativeOnly = true;
|
||||||
# #};
|
});
|
||||||
# steam-run = final.steam.run;
|
steamcmd = final.steamPackages.steamcmd;
|
||||||
# steam-run-native = (final.steam.override {
|
}
|
||||||
# nativeOnly = true;
|
*/
|
||||||
# });
|
|
||||||
# steamcmd = final.steamPackages.steamcmd;
|
|
||||||
#}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user