summaryrefslogtreecommitdiff
path: root/home-configuration/managed/prismlauncher/default.nix
diff options
context:
space:
mode:
authorcoasteen <coasteen@proton.me>2026-07-09 10:46:52 +0330
committercoasteen <coasteen@proton.me>2026-07-09 10:46:52 +0330
commita3008666c6c75ff61b1fc329b4d962a6c367d5f0 (patch)
treea203a54b3c61884ea13957cf18284f6c83f8e64d /home-configuration/managed/prismlauncher/default.nix
init nixHEADmaster
Diffstat (limited to 'home-configuration/managed/prismlauncher/default.nix')
-rw-r--r--home-configuration/managed/prismlauncher/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/home-configuration/managed/prismlauncher/default.nix b/home-configuration/managed/prismlauncher/default.nix
new file mode 100644
index 0000000..f31c610
--- /dev/null
+++ b/home-configuration/managed/prismlauncher/default.nix
@@ -0,0 +1,31 @@
+{ lib, pkgs, ... }:
+let
+ pname = "prismlauncher";
+ version = "11.0.2-1";
+ src = pkgs.fetchurl {
+ url = "https://github.com/Diegiwg/PrismLauncher-Cracked/releases/download/${version}/PrismLauncher-Linux-x86_64.AppImage";
+ hash = "sha256-P+6s4g8uCqXQx0p5rieJFpuDV7AquGVYrcTs9XWFAsA=";
+ };
+ icon = pkgs.fetchurl {
+ url = "https://upload.wikimedia.org/wikipedia/commons/7/74/Prism_Launcher_logo.svg";
+ hash = "sha256-AQexWc1uadtsYQpTTwI3BVCJQyfV2AZ/jxNWshyFxnE=";
+ };
+in
+{
+ home.packages = [
+ (pkgs.appimageTools.wrapType2 {
+ inherit pname version src;
+ meta = {
+ description = "Cracked version of Prism Launcher";
+ platforms = [ "x86_64-linux" ];
+ sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
+ };
+ })
+ ];
+ home.file.".local/share/icons/hicolor/scalable/apps/prismlauncher.svg".source = icon;
+ xdg.desktopEntries.prismlauncher.comment = "Cracked version of Prism Launcher";
+ xdg.desktopEntries.prismlauncher.name = "Prism Launcher (Modified)";
+ xdg.desktopEntries.prismlauncher.genericName = "Prism Launcher client";
+ xdg.desktopEntries.prismlauncher.exec = "prismlauncher";
+ xdg.desktopEntries.prismlauncher.icon = "prismlauncher";
+}