den
 1{
 2  den.aspects.desktop.provides.de.provides.custom.provides.shell.provides.noctalia.homeManager = {
 3    config,
 4    osConfig,
 5    ...
 6  }: {
 7    programs.noctalia-shell.settings.bar = {
 8      backgroundOpacity = config.stylix.opacity.desktop;
 9      density = "default";
10      floating = true;
11      marginHorizontal = 8; # 8px
12      marginVertical = 8; # 8px
13      widgets = {
14        left = [
15          {
16            id = "SystemMonitor";
17            usePrimaryColor = true;
18          }
19          {id = "plugin:kde-connect";}
20          {id = "plugin:privacy-indicator";}
21          {
22            id = "MediaMini";
23            hideMode = "hidden";
24            maxWidth = 240;
25            showAlbumArt = true;
26            showVisualizer = true;
27            visualizerType = "linear";
28            showArtistFirst = false;
29          }
30        ];
31        center = [
32          {
33            id = "Workspace";
34            hideUnoccupied = true;
35            labelMode = "index";
36          }
37        ];
38        right = [
39          {id = "Tray";}
40          {
41            id = "NotificationHistory";
42            hideWhenZero = true;
43            showUnreadBadge = true;
44          }
45          {id = "Volume";}
46          {id = "Bluetooth";}
47          {id = "Network";}
48          {
49            id = "Battery";
50            showNoctaliaPerformance = true;
51            showPowerProfiles = true;
52          }
53          {
54            id = "Clock";
55            formatHorizontal = "yyyy-MM-dd HH:mm";
56            formatVertical = "yy MM dd  HH mm";
57            tooltipFormat = "yyyyMd dddd HH:mm:ss";
58            useCustomFont = true;
59            customFont = osConfig.stylix.fonts.monospace.name;
60          }
61          {
62            id = "ControlCenter";
63            useDistroLogo = true;
64          }
65        ];
66      };
67    };
68  };
69}