add flatpak protontricks overrides
This commit is contained in:
@ -55,6 +55,9 @@ in {
|
|||||||
|
|
||||||
(optionals cfg.discordElectron.enable [ discord ])
|
(optionals cfg.discordElectron.enable [ discord ])
|
||||||
(optionals cfg.steam.adwaita [ adwaita-for-steam ])
|
(optionals cfg.steam.adwaita [ adwaita-for-steam ])
|
||||||
|
|
||||||
|
# Prefer flatpak version as this one doesn't find the STEAM_DIR automatically
|
||||||
|
# (optionals cfg.steam.enable [ protontricks ])
|
||||||
];
|
];
|
||||||
|
|
||||||
# This doesn't work because steam doesn't detect symlinked skins, files have to be copied
|
# This doesn't work because steam doesn't detect symlinked skins, files have to be copied
|
||||||
@ -106,11 +109,16 @@ in {
|
|||||||
|
|
||||||
modules.flatpak.extraOverride = [
|
modules.flatpak.extraOverride = [
|
||||||
(optionalAttrs cfg.bottles.enable {
|
(optionalAttrs cfg.bottles.enable {
|
||||||
"com.usebottles.bottles" = "${config.home.homeDirectory}/.var/app/com.valvesoftware.Steam/data/Steam;${config.home.homeDirectory}/GameSSD;${config.home.homeDirectory}/GameHDD";
|
# Changed com.valvesoftware.Steam/data/Steam to com.valvesoftware.Steam
|
||||||
|
"com.usebottles.bottles" = "${config.home.homeDirectory}/.var/app/com.valvesoftware.Steam;${config.home.homeDirectory}/GameSSD;${config.home.homeDirectory}/GameHDD";
|
||||||
})
|
})
|
||||||
|
# TODO: Why can't I specify both overrides inside optionalAttrs cfg.steam.enable?
|
||||||
(optionalAttrs cfg.steam.enable {
|
(optionalAttrs cfg.steam.enable {
|
||||||
"com.valvesoftware.Steam" = "${config.home.homeDirectory}/GameSSD;${config.home.homeDirectory}/GameHDD";
|
"com.valvesoftware.Steam" = "${config.home.homeDirectory}/GameSSD;${config.home.homeDirectory}/GameHDD";
|
||||||
})
|
})
|
||||||
|
(optionalAttrs cfg.steam.enable {
|
||||||
|
"com.github.Matoking.protontricks" = "${config.home.homeDirectory}/GameSSD;${config.home.homeDirectory}/GameHDD";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
modules.flatpak.extraInstall = builtins.concatLists [
|
modules.flatpak.extraInstall = builtins.concatLists [
|
||||||
|
Reference in New Issue
Block a user