Skip to content

Commit

Permalink
modules/steam: Add option to use the Jovian NixOS logo at launch
Browse files Browse the repository at this point in the history
  • Loading branch information
samueldr committed Nov 1, 2024
1 parent da70b6f commit 3894ecc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/steam/updater.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ in
splash = mkOption {
type = types.enum [
"steamos"
"jovian"
"vendor"
];
default = "steamos";
Expand All @@ -39,7 +40,12 @@ in
{
environment.etc."xdg/gamescope-session/environment" = {
text = lib.mkAfter ''
jovian_updater_logo="$ui_background"
${optionalString (cfg.updater.splash == "steamos") ''
jovian_updater_logo="$ui_background"
''}
${optionalString (cfg.updater.splash == "jovian") ''
jovian_updater_logo="${../../artwork/logo/splash.png}"
''}
${pkgs.jovian-updater-logo-helper}/bin/jovian-updater-logo-helper "$jovian_updater_logo"
Expand Down

0 comments on commit 3894ecc

Please sign in to comment.