You'll have to download the AppImage version from the LightBurnSoftware website, it's not yet available on github.
ensure the following are in a directory:
```
-rwxr-xr-x 1 joe users 169493696 Feb 4 20:04 LightBurn-Linux64-v1.7.06.AppImage
-rw-r--r-- 1 joe users 827 Feb 4 23:48 lightburn.nix
-rw-r--r-- 1 joe users 140137 Jan 29 16:48 LightBurn.png
```
lightburn.nix
```
{ pkgs }:
pkgs.appimageTools.wrapType2 {
name = "LightBurn";
src = ./LightBurn-Linux64-v1.7.06.AppImage;
extraPkgs = pkgs: with pkgs; [
fontconfig
freetype
glib
gtk3
libdrm
mesa
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXrender
xorg.libXtst
xorg.libXi
];
extraInstallCommands = ''
install -Dm644 ${./LightBurn.png} $out/share/icons/hicolor/256x256/apps/LightBurn.png
# Manually create the .desktop file instead of modifying a non-existent one
mkdir -p $out/share/applications
cat > $out/share/applications/LightBurn.desktop <<EOF
[Desktop Entry]
Name=LightBurn
Exec=$out/bin/LightBurn
Icon=$out/share/icons/hicolor/256x256/apps/LightBurn.png
Terminal=false
Type=Application
Categories=Graphics;
EOF
'';
}
```
build it
```
nix-build -E 'with import <nixpkgs> { config.allowUnfree = true; }; callPackage ./lightburn.nix {}'
```
add it to profile
```
nix profile install ./result
```
If LightBurn doesn’t appear in your application menu, refresh the desktop database then logout and back in.