refactor(waybar): shorten registry name

This commit is contained in:
2026-10-11 19:41:30 -04:00
parent 48f27bce75
commit 844a2b1ac9
6 changed files with 5 additions and 5 deletions

View File

@@ -106,7 +106,7 @@ in
};
};
registry.waybar-module.${config.networking.hostName}."custom/idle-lock" = {
registry.waybar.${config.networking.hostName}."custom/idle-lock" = {
order = 20;
settings = {
return-type = "json";

View File

@@ -55,7 +55,7 @@ in
};
};
registry.waybar-module.${config.networking.hostName}."custom/dnd" = {
registry.waybar.${config.networking.hostName}."custom/dnd" = {
order = 80;
settings = {
return-type = "json";

View File

@@ -55,7 +55,7 @@ let
}
) hostWaybarModules;
hostWaybarModules = lib.attrByPath [ config.networking.hostName ] { } config.registry.waybar-module;
hostWaybarModules = lib.attrByPath [ config.networking.hostName ] { } config.registry.waybar;
# A Nerd Font Private-Use-Area codepoint as a literal character, decoded
# through JSON so the glyph survives as bytes rather than an editor paste.

View File

@@ -62,7 +62,7 @@ in
};
};
registry.waybar-module.${config.networking.hostName}."custom/recording" = {
registry.waybar.${config.networking.hostName}."custom/recording" = {
order = 10;
settings = {
return-type = "json";

View File

@@ -77,7 +77,7 @@ in
vpn-off = "sudo systemctl stop 'wireguard-${cfg.interface}*.service' wireguard-${cfg.interface}.target";
};
registry.waybar-module.${config.networking.hostName}."custom/vpn" = {
registry.waybar.${config.networking.hostName}."custom/vpn" = {
order = 50;
settings = {
return-type = "json";