Files
nixos/packages/steam/home.nix
T
2025-07-14 21:38:45 -05:00

36 lines
1.3 KiB
Nix

{pkgs, ...}: {
xdg.desktopEntries = {
steam = {
name = "Steam";
genericName = "Game Platform";
comment = "Play and discuss games.";
# exec = "${pkgs.mangohud}/bin/mangohud ${pkgs.steam}/bin/steam %U"; # The standard command to launch Steam
exec = "${pkgs.steam}/bin/steam %U"; # The standard command to launch Steam
terminal = false;
icon = "steam"; # Assumes the 'steam' icon is available in your icon theme
type = "Application";
categories = ["Game" "Network"];
mimeType = [
"x-scheme-handler/steam" # For handling steam:// links
];
actions = {
BigPicture = {
name = "Big Picture Mode";
# exec = "${pkgs.mangohud}/bin/mangohud ${pkgs.steam}/bin/steam steam://open/bigpicture";
exec = "${pkgs.steam}/bin/steam steam://open/bigpicture";
};
Store = {
name = "Store";
# exec = "${pkgs.mangohud}/bin/mangohud ${pkgs.steam}/bin/steam steam://store";
exec = "${pkgs.steam}/bin/steam steam://open/bigpicture";
};
Library = {
name = "Library";
# exec = "${pkgs.mangohud}/bin/mangohud ${pkgs.steam}/bin/steam steam://library";
exec = "${pkgs.steam}/bin/steam steam://open/bigpicture";
};
};
};
};
}