2026-07-23 09:10:00 +02:00

62 lines
1.8 KiB
Nix

{ self, inputs, ... }:
{
perSystem = { pkgs, lib, ... }: {
packages.myNoctalia = inputs.wrapper-modules.wrappers.noctalia-shell.wrap {
inherit pkgs;
settings = {
bar = {
barType = "floating";
position = "left";
monitors = [];
density = "compact";
showOutline = false;
showCapsule = true;
capsuleOpacity = 1;
capsuleColorKey = "none";
widgetSpacing = 6;
contentPadding = 2;
fontScale = 1;
enableExclusionZoneInset = true;
backgroundOpacity = 0.93;
useSeparateOpacity = false;
marginVertical = 4;
marginHorizontal = 4;
frameThickness = 8;
frameRadius = 12;
outerCorners = true;
hideOnOverview = false;
displayMode = "always_visible";
autoHideDelay = 500;
autoShowDelay = 150;
showOnWorkspaceSwitch = true;
widgets = {
left = [
{
colorizeDistroLogo = false;
colorizeSystemIcon = "tertiary";
colorizeSystemText = "none";
customIconPath = "";
enableColorization = true;
icon = "noctalia";
id = "ControlCenter";
useDistroLogo = true;
}
{
clockColor = "secondary";
customFont = "";
formatHorizontal = "HH:mm ddd, MMM dd";
formatVertical = "HH mm - dd MMM";
id = "Clock";
tooltipFormat = "HH:mm ddd, MMM dd";
useCustomFont = false;
}
];
};
};
};
#(builtins.fromJSON
# (builtins.readFile ./noctalia.json)).settings;
};
};
}