mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
nixos/lomiri: Add bluetooth indicator
This commit is contained in:
parent
00929036f8
commit
132b5ce9d3
@ -50,6 +50,10 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
bluetooth.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = lib.mkDefault true;
|
||||
|
||||
systemd.packages = with pkgs.lomiri; [
|
||||
@ -87,6 +91,8 @@ in {
|
||||
ayatana-indicator-messages
|
||||
ayatana-indicator-power
|
||||
ayatana-indicator-session
|
||||
] ++ lib.optionals config.hardware.bluetooth.enable [
|
||||
ayatana-indicator-bluetooth
|
||||
] ++ lib.optionals (config.hardware.pulseaudio.enable || config.services.pipewire.pulse.enable) [
|
||||
ayatana-indicator-sound
|
||||
]) ++ (with pkgs.lomiri; [
|
||||
|
@ -654,6 +654,7 @@ in
|
||||
machine.send_key("left")
|
||||
machine.send_key("left")
|
||||
machine.send_key("left")
|
||||
machine.send_key("left")
|
||||
# Notifications are usually empty, nothing to check there
|
||||
|
||||
with subtest("ayatana indicator display works"):
|
||||
@ -661,6 +662,11 @@ in
|
||||
wait_for_text("Lock")
|
||||
machine.screenshot("indicators_display")
|
||||
|
||||
with subtest("ayatana indicator bluetooth works"):
|
||||
machine.send_key("right")
|
||||
wait_for_text("Bluetooth settings")
|
||||
machine.screenshot("indicators_bluetooth")
|
||||
|
||||
with subtest("lomiri indicator network works"):
|
||||
machine.send_key("right")
|
||||
wait_for_text(r"(Flight|Wi-Fi)")
|
||||
|
Loading…
Reference in New Issue
Block a user