Put battery into modules section
diff --git a/src/apps/personal/waybar.nix b/src/apps/personal/waybar.nix
index da02a41..9c0f774 100644
--- a/src/apps/personal/waybar.nix
+++ b/src/apps/personal/waybar.nix
@@ -8,7 +8,10 @@
                 modules-center = ["sway/window"];
 
                 modules-right = ["battery" "clock"];
-                battery.bat = "BAT0";
+
+                modules = {
+                    battery.bat = "BAT0";
+                };
             }
         ];
         style = ''