Add Logseq AppImage package, keep it disabled

Introduce a new Nix expression for Logseq AppImage and comment out its
enable flag and package entries so it is not enabled by default.
This commit is contained in:
2026-06-11 21:02:25 +02:00
parent 823302f7e5
commit 8c5c071897
6 changed files with 45 additions and 4 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ _: {
*/
bitwarden.enable = false; # Bitwarden: password manager (desktop)
iotas.enable = true; # Iotas: lightweight notes manager
logseq.enable = false; # Logseq: knowledge base and outliner
# appImages.logseq.enable = false; # Logseq: knowledge base and outliner
/*
Media & Graphics
+1 -1
View File
@@ -88,7 +88,7 @@ _: {
*/
bitwarden.enable = false; # Bitwarden: password manager (desktop)
iotas.enable = true; # Iotas: lightweight notes manager
logseq.enable = false; # Logseq: knowledge base and outliner
# appImages.logseq.enable = false; # Logseq: knowledge base and outliner
/*
Media & Graphics
+1 -1
View File
@@ -88,7 +88,7 @@ _: {
*/
bitwarden.enable = false; # Bitwarden: password manager (desktop)
iotas.enable = false; # Iotas: lightweight notes manager
logseq.enable = false; # Logseq: knowledge base and outliner
# appImages.logseq.enable = false; # Logseq: knowledge base and outliner
/*
Media & Graphics
@@ -14,6 +14,7 @@
appImagePackages = {
fluxer = pkgs.callPackage ./fluxer.nix {};
helium = pkgs.callPackage ./helium.nix {};
# logseq = pkgs.callPackage ./logseq.nix {};
losslesscut = pkgs.callPackage ./losslesscut.nix {};
};
in {
@@ -0,0 +1,40 @@
{
lib,
appimageTools,
fetchurl,
}: let
pname = "logseq";
version = "0.10.15";
hash = "sha256-i5EQUvSW1ix+8NT8nCs6mGH2B9xF7G4mB7vBhDJ7JdE=";
src = fetchurl {
url = "https://github.com/logseq/logseq/releases/download/${version}/Logseq-linux-x64-${version}.AppImage";
sha256 = hash;
};
appimageContents = appimageTools.extract {inherit pname version src;};
iconSize = "512x512";
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
# mv $out/bin/${pname}-${version} $out/bin/${pname}
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/${iconSize}/apps/${pname}.png \
$out/share/icons/hicolor/${iconSize}/apps/${pname}.png
substituteInPlace $out/share/applications/${pname}.desktop \
--replace-fail 'Exec=AppRun' 'Exec=${pname}'
'';
meta = with lib; {
description = "Logseq";
homepage = "https://github.com/logseq/logseq";
license = licenses.gpl3;
platforms = ["x86_64-linux"];
sourceProvenance = with lib.sourceTypes; [binaryNativeCode];
maintainers = with lib.maintainers; [garand_plg];
};
}
# https://github.com/logseq/logseq/releases/download/0.10.15/Logseq-linux-x64-0.10.15.AppImage
+1 -1
View File
@@ -19,7 +19,7 @@
gnomeCalculator = gnome-calculator;
gedit = gedit;
iotas = iotas;
logseq = logseq;
# logseq = logseq;
mattermost = mattermost-desktop;
slack = slack;
tutanota = tutanota-desktop;