From 592e70cf3391a4a3366c71d11dbb871195c712d9 Mon Sep 17 00:00:00 2001 From: Jelle Spreeuwenberg Date: Tue, 21 Apr 2026 21:35:46 +0200 Subject: [PATCH] feat: add zenith specific modifications to noctalia --- modules/features/noctalia.nix | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/modules/features/noctalia.nix b/modules/features/noctalia.nix index ddf141c..44f0e1b 100644 --- a/modules/features/noctalia.nix +++ b/modules/features/noctalia.nix @@ -8,11 +8,23 @@ let mkPortableSettings = baseSettings: lib.recursiveUpdate baseSettings { - bar.widgets.right = baseSettings.bar.widgets.right ++ [ - { - id = "Battery"; - } - ]; + bar.widgets.right = lib.concatMap ( + widget: + if widget.id == "ControlCenter" then + [ + { + id = "Network"; + } + { + id = "Battery"; + showPowerProfiles = true; + displayMode = "graphic"; + } + widget + ] + else + [ widget ] + ) baseSettings.bar.widgets.right; }; in {