File tree Expand file tree Collapse file tree 3 files changed +53
-0
lines changed
Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 131131
132132 ( pkgs . callPackage ../../pkgs/pince.nix { } )
133133 ( pkgs . callPackage ../../pkgs/easyeda.nix { } )
134+ ( pkgs . callPackage ../../pkgs/transformerlab.nix { } )
134135 ] ;
135136}
Original file line number Diff line number Diff line change 1+ { ... } :
2+
3+ {
4+ services . n8n = {
5+ enable = true ;
6+ } ;
7+
8+ systemd . services . n8n . serviceConfig . User = "daniel" ;
9+ }
Original file line number Diff line number Diff line change 1+ {
2+ appimageTools ,
3+ fetchurl ,
4+ lib ,
5+ makeDesktopItem ,
6+ gobject-introspection ,
7+ } :
8+
9+ let
10+ pname = "transformerlab" ;
11+ version = "0.20.2" ;
12+
13+ desktopItem = makeDesktopItem {
14+ name = pname ;
15+ exec = pname ;
16+ desktopName = pname ;
17+ genericName = "Finetune LLMs" ;
18+ categories = [ "Application" ] ;
19+ } ;
20+
21+ in
22+ appimageTools . wrapType2 rec {
23+ inherit pname version ;
24+
25+ src = fetchurl {
26+ url = "https://github.com/transformerlab/transformerlab-app/releases/download/v${ version } /Transformer-Lab-${ version } .AppImage" ;
27+ hash = "sha256-rQsVhQM8qjYMJCCbnOeiQdnHDtmBGyUbfj8dGq6Sr5Q=" ;
28+ } ;
29+
30+ buildInputs = [ gobject-introspection ] ;
31+
32+ extraInstallCommands = ''
33+ mkdir "$out/share"
34+ ln -s "${ desktopItem } /share/applications" "$out/share/"
35+ '' ;
36+
37+ meta = with lib ; {
38+ description = "Finetune LLMs" ;
39+ homepage = "https://transformerlab.ai/" ;
40+ license = licenses . gpl3Plus ;
41+ platforms = lib . platforms . linux ;
42+ } ;
43+ }
You can’t perform that action at this time.
0 commit comments