better remote flatpak bundle definition

This commit is contained in:
William 2025-06-09 16:22:57 -03:00
parent b2f90956d2
commit c3cfd43684

View file

@ -167,11 +167,7 @@
]; ];
}; };
services.flatpak = services.flatpak = {
let
orcahash = "0hdx5sg6fknj1pfnfxvlfwb5h6y1vjr6fyajbsnjph5gkp97c6p1";
in
{
enable = true; enable = true;
packages = [ packages = [
### Dev Tools ### ### Dev Tools ###
@ -180,13 +176,13 @@
### Office & Productivity ### ### Office & Productivity ###
### Graphics & Design ### ### Graphics & Design ###
"com.boxy_svg.BoxySVG" "com.boxy_svg.BoxySVG"
{ rec {
sha256 = "0hdx5sg6fknj1pfnfxvlfwb5h6y1vjr6fyajbsnjph5gkp97c6p1";
bundle = "${pkgs.fetchurl { bundle = "${pkgs.fetchurl {
url = "https://github.com/SoftFever/OrcaSlicer/releases/download/v2.3.0/OrcaSlicer-Linux-flatpak_V2.3.0_x86_64.flatpak"; url = "https://github.com/SoftFever/OrcaSlicer/releases/download/v2.3.0/OrcaSlicer-Linux-flatpak_V2.3.0_x86_64.flatpak";
sha256 = orcahash; sha256 = sha256; # References the sha256 attribute above
}}"; }}";
appId = "io.github.softfever.OrcaSlicer"; appId = "io.github.softfever.OrcaSlicer";
sha256 = orcahash;
} }
### Gaming & Entertainment ### ### Gaming & Entertainment ###
"com.github.k4zmu2a.spacecadetpinball" "com.github.k4zmu2a.spacecadetpinball"