patiodeck: add prism launcher to steam shortcuts
This commit is contained in:
@@ -1,7 +1,29 @@
|
|||||||
{ ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../home/profiles/gui.nix
|
../../home/profiles/gui.nix
|
||||||
../../home/profiles/desktop.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" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user