- modules/desktop-jovian.nix: shared Jovian deck-mode config (unfree predicate, jovian.steam, sddm, gamescope override, imports desktop-steam-update.nix) - home/progs/steam-shortcuts.nix: declarative non-Steam shortcuts (Prism Launcher); add new entries here for all Jovian hosts - hosts/yarn/default.nix: reduced to host-specific config only - hosts/patiodeck/default.nix: same
30 lines
722 B
Nix
30 lines
722 B
Nix
# Declarative non-Steam game shortcuts for the Steam library.
|
|
# Add entries to the `shortcuts` list to have them appear in Steam's UI.
|
|
{
|
|
pkgs,
|
|
inputs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
inputs.json2steamshortcut.homeModules.default
|
|
];
|
|
|
|
services.steam-shortcuts = {
|
|
enable = true;
|
|
overwriteExisting = true;
|
|
steamUserId = lib.strings.toInt (
|
|
lib.strings.trim (builtins.readFile ../../secrets/home/steam-user-id)
|
|
);
|
|
shortcuts = [
|
|
{
|
|
AppName = "Prism Launcher";
|
|
Exe = "${pkgs.prismlauncher}/bin/prismlauncher";
|
|
Icon = "${pkgs.prismlauncher}/share/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg";
|
|
Tags = [ "Game" ];
|
|
}
|
|
];
|
|
};
|
|
}
|