From 5b2a1a652ad0f69fc4a06e716bb9c8d98d119c9e Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 23 Apr 2026 22:02:36 -0400 Subject: [PATCH] patiodeck: add prism launcher to steam shortcuts --- hosts/patiodeck/home.nix | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/hosts/patiodeck/home.nix b/hosts/patiodeck/home.nix index c58ef5e..4a63f31 100644 --- a/hosts/patiodeck/home.nix +++ b/hosts/patiodeck/home.nix @@ -1,7 +1,29 @@ -{ ... }: +{ + pkgs, + inputs, + lib, + ... +}: { imports = [ ../../home/profiles/gui.nix ../../home/profiles/desktop.nix + 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" ]; + } + ]; + }; }