Skip to content
Andy Stewart edited this page Nov 17, 2022 · 13 revisions

for system dependencies

Edit /etc/nixos/configuration.nix

environment.systemPackages = with pkgs; [
   git nodejs wmctrl xdotool
   # eaf-browser
   aria 
   # eaf-file-manager
   fd
];

You can also use nix-env to install,for example nix-env -iA nixos.fd

for python dependencies

with pkgs;
let
  my-python-packages = python-packages: with python-packages; [
    pandas
    requests
    pyqt6 sip qtpy qt6.qtwebengine epc lxml pyqt6-webengine # for eaf
    qrcode # eaf-file-browser
    pysocks # eaf-browser
    pymupdf # eaf-pdf-viewer
    pypinyin # eaf-file-manager
    psutil # eaf-system-monitor
    retry # eaf-markdown-previewer
    markdown
  ];
  python-with-my-packages = unstable.python3.withPackages my-python-packages;

pyqtwebengine in 20.09 channel seems broken,upgrading the system or add unstable channel can solve the problem if you use NixOS 20.09

For error: qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "",it's not necessary to install qt5Full, just set environment variables in configuration.nix

   environment.variables = {
     QT_QPA_PLATFORM_PLUGIN_PATH = "${pkgs.qt5.qtbase.bin.outPath}/lib/qt-${pkgs.qt5.qtbase.version}/plugins";
   };

Install/Update EAF applications

./install-eaf.py --ignore-core-deps
Clone this wiki locally