No longer use logseq
This commit is contained in:
@ -48,28 +48,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
|
||||||
(
|
|
||||||
final: prev: {
|
|
||||||
logseq = prev.logseq.overrideAttrs (oldAttrs: {
|
|
||||||
postFixup = ''
|
|
||||||
makeWrapper ${prev.electron_27}/bin/electron $out/bin/${oldAttrs.pname} \
|
|
||||||
--set "LOCAL_GIT_DIRECTORY" ${prev.git} \
|
|
||||||
--add-flags $out/share/${oldAttrs.pname}/resources/app \
|
|
||||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
|
|
||||||
--prefix LD_LIBRARY_PATH : "${prev.lib.makeLibraryPath [ prev.stdenv.cc.cc.lib ]}"
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
}
|
|
||||||
)
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
# logseq
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
|
||||||
"electron-27.3.11"
|
|
||||||
];
|
|
||||||
|
|
||||||
# wheel group gets trusted access to nix daemon
|
# wheel group gets trusted access to nix daemon
|
||||||
nix.settings.trusted-users = [ "@wheel" ];
|
nix.settings.trusted-users = [ "@wheel" ];
|
||||||
|
|
||||||
@ -138,7 +116,6 @@
|
|||||||
# System packages
|
# System packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
logseq
|
|
||||||
wget
|
wget
|
||||||
zsh
|
zsh
|
||||||
git
|
git
|
||||||
|
Reference in New Issue
Block a user