3 name = "lomiri-filemanager-app-standalone";
4 meta.maintainers = lib.teams.lomiri.members;
9 imports = [ ./common/x11.nix ];
11 services.xserver.enable = true;
14 systemPackages = with pkgs.lomiri; [
16 lomiri-filemanager-app
19 UITK_ICON_THEME = "suru";
23 i18n.supportedLocales = [ "all" ];
25 fonts.packages = with pkgs; [
26 # Intended font & helps with OCR
36 with subtest("lomiri filemanager launches"):
37 machine.execute("lomiri-filemanager-app >&2 &")
38 machine.wait_for_text(r"(filemanager.ubports|alice|items|directories|files|folder)")
39 machine.screenshot("lomiri-filemanager_open")
41 machine.succeed("pkill -f lomiri-filemanager-app")
43 with subtest("lomiri filemanager localisation works"):
44 machine.execute("env LANG=de_DE.UTF-8 lomiri-filemanager-app >&2 &")
45 machine.wait_for_text(r"(Elemente|Verzeichnisse|Dateien|Ordner)")
46 machine.screenshot("lomiri-filemanager_localised")