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