79637140

Date: 2025-05-24 20:24:21
Score: 1.5
Natty:
Report link

Here's probably the most idiomatic Nix code for what you're asking. Noogle is your friend for finding library functions.

{
  rightModules = [
    "group/expand"
    "wireplumber"
    "network"
    "privacy"
  ]
  ++ lib.optional components.bluetooth "bluetooth"
  ++ lib.optional components.battery "battery"
  ++ [
    "custom/wlogout"
  ];
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: axka