Logseq as wayland app
Some checks failed
/ test (push) Failing after 13s

This commit is contained in:
Andrea Ciceri 2024-10-11 10:52:17 +02:00
parent d7189f1d82
commit 3add3c5d49
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, lib, ... }:
let let
logseq = pkgs.appimageTools.wrapType2 { logseq = pkgs.appimageTools.wrapType2 {
name = "logseq"; name = "logseq";
@ -8,7 +8,8 @@ let
hash = "sha256-Hy/zk8ZCkWajsMRUMsewLvkKpMpsBZYnFootPU9y6Z0="; hash = "sha256-Hy/zk8ZCkWajsMRUMsewLvkKpMpsBZYnFootPU9y6Z0=";
}; };
}; };
logseq-wayland = pkgs.writeScriptBin "logseq" "${lib.getExe logseq} --enable-features=UseOzonePlatform --ozone-platform=wayland";
in in
{ {
home.packages = [ logseq ]; home.packages = [ logseq-wayland ];
} }