File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 38
38
nix . extraOptions = ''
39
39
experimental-features = nix-command flakes
40
40
'' ;
41
+ nixpkgs . overlays = [
42
+ (
43
+ final : prev : {
44
+ logseq = prev . logseq . overrideAttrs ( oldAttrs : {
45
+ postFixup = ''
46
+ makeWrapper ${ prev . electron_27 } /bin/electron $out/bin/${ oldAttrs . pname } \
47
+ --set "LOCAL_GIT_DIRECTORY" ${ prev . git } \
48
+ --add-flags $out/share/${ oldAttrs . pname } /resources/app \
49
+ --add-flags "\'' ${NIXOS_OZONE_WL:+\'' ${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
50
+ --prefix LD_LIBRARY_PATH : "${ prev . lib . makeLibraryPath [ prev . stdenv . cc . cc . lib ] } "
51
+ '' ;
52
+ } ) ;
53
+ }
54
+ )
55
+ ] ;
56
+
57
+
58
+ # logseq
59
+ nixpkgs . config . permittedInsecurePackages = [
60
+ "electron-27.3.11"
61
+ ] ;
41
62
42
63
# wheel group gets trusted access to nix daemon
43
64
nix . settings . trusted-users = [ "@wheel" ] ;
87
108
# System packages
88
109
environment . systemPackages = with pkgs ; [
89
110
vim
111
+ logseq
90
112
wget
91
113
zsh
92
114
git
You can’t perform that action at this time.
0 commit comments