diff --git a/users/simon/modules/games.nix b/users/simon/modules/games.nix index 7a550ef..6643404 100644 --- a/users/simon/modules/games.nix +++ b/users/simon/modules/games.nix @@ -72,6 +72,13 @@ let ''${SANDBOX_COMMAND:-${pkgs.unstable.steam}/bin/steam} \ "$@" ''; + + steam-sandbox-with-icons = pkgs.runCommand "steam-sandbox-with-icons" { } '' + mkdir -p $out/{bin,share} + ln -s ${pkgs.steamPackages.steam}/share/icons $out/share + ln -s ${pkgs.steamPackages.steam}/share/pixmaps $out/share + ln -s ${steam-sandbox}/bin/steam-sandbox $out/bin/steam-sandbox + ''; in lib.mkIf cfg.enable { home.packages = with pkgs; [ ] @@ -87,6 +94,6 @@ lib.mkIf cfg.enable { })) ++ lib.optionals unfree.allowSoftware [ unstable.osu-lazer-sandbox - steam-sandbox + steam-sandbox-with-icons ]; }