tpm unlock+moondeck

This commit is contained in:
mjallen18
2026-01-23 23:26:02 -06:00
parent 3ff7bed41d
commit d1d68e154d
3 changed files with 43 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
{ lib, namespace, appimageTools, ... }:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources selected;
moondeck-buddy = selected.sources.moondeck-buddy;
in
appimageTools.wrapType2 {
pname = "moondeck-buddy";
version = if moondeck-buddy ? tag then moondeck-buddy.tag else moondeck-buddy.rev;
src = sources.moondeck-buddy;
meta = with lib; {
description = "";
license = licenses.bsd3;
platforms = [ "x86_64-linux" ];
maintainers = [ ];
};
}

View File

@@ -0,0 +1,16 @@
{
"schemaVersion": 1,
"variables": {
"owner": "FrogTheFrog",
"repo": "moondeck-buddy",
"version": "1.9.2"
},
"sources": {
"moondeck-buddy": {
"fetcher": "url",
"tag": "v${version}",
"urlTemplate": "https://github.com/FrogTheFrog/moondeck-buddy/releases/download/v${version}/MoonDeckBuddy-${version}-x86_64.AppImage",
"hash": "sha256-SfaqrBJJZlJwhSPLPUlwfvZ8RxIWrbwY6uys8ziRvek="
}
}
}