feat: update system

This commit is contained in:
2026-05-02 19:27:04 +02:00
parent fa70c98160
commit f8bef518d2
4 changed files with 29 additions and 15 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ in
opaque = true;
pin = true;
fullscreen_state = "2 0";
move = "8 8";
move = "240 8";
keep_aspect_ratio = true;
border_size = "0";
animation = "fade";
+19 -12
View File
@@ -13,6 +13,7 @@ in
options.shell.components.waybar = {
enable = lib.mkEnableOption (lib.mdDoc "Enable a pre-configured waybar setup");
mobile = lib.mkEnableOption (lib.mdDoc "Mobile PC");
home-assistant = lib.mkEnableOption (lib.mdDoc "Home Assistant");
};
config = lib.mkIf cfg.enable {
@@ -32,17 +33,23 @@ in
reload_style_on_change = true;
exclusive = true;
modules-left = [
"custom/ha"
]
++ (
if cfg.mobile then
[
"battery"
]
else
[ ]
);
modules-left =
(
if cfg.home-assistant then
[
"custom/ha"
]
else
[ ]
)
++ (
if cfg.mobile then
[
"battery"
]
else
[ ]
);
modules-center = [
"clock"
];
@@ -140,7 +147,7 @@ in
"tooltip-format" = "{capacity}%";
};
"custom/ha" = {
"custom/ha" = lib.mkIf cfg.home-assistant {
exec = pkgs.lib.getExe waybar-ha;
return-type = "json";
interval = 30;
+1 -1
View File
@@ -37,7 +37,7 @@ in
libvdpau
];
})
# rpcs3
rpcs3
bottles
wineWow64Packages.stagingFull
winetricks