nix-config/modules/wm/noctalia/default.nix
2026-02-12 19:55:18 +01:00

135 lines
3.1 KiB
Nix

{ ... }:
{
programs.noctalia-shell = {
enable = true;
systemd.enable = true;
colors = {
mError = "#ff6a7a";
mOnError = "#ffffff";
mOnPrimary = "#0f0b15";
mOnSecondary = "#331531";
mOnSurface = "#ffffff";
mOnSurfaceVariant = "#bf8a9f";
mOnTertiary = "#35afbf";
mOnHover = "#ffffff";
mOutline = "#807c9f";
mPrimary = "#c57faf";
mSecondary = "#d369af";
mShadow = "#000000";
mSurface = "#0f0b15";
mHover = "#d369af";
mSurfaceVariant = "#1d202f";
mTertiary = "#133d56";
};
settings = {
# configure noctalia here
bar = {
density = "default";
position = "left";
floating = false;
showCapsule = false;
marginHorizontal = 8;
widgets = {
left = [
{
id = "ControlCenter";
useDistroLogo = false;
colorize = true;
}
{
formatHorizontal = "HH:mm";
formatVertical = "HH mm";
id = "Clock";
useMonospacedFont = true;
usePrimaryColor = true;
}
{
id = "SystemMonitor";
}
];
center = [
{
hideUnoccupied = false;
id = "Workspace";
labelMode = "index";
}
];
right = [
{
id = "Bluetooth";
}
{
id = "Volume";
}
{
id = "Tray";
}
];
};
};
colorSchemes = {
darkMode = true;
};
ui = {
fontDefault = "VictorMono Nerd Font";
fontFixed = "VictorMono Nerd Font";
panelBackgroundOpacity = 1;
};
general = {
avatarImage = "/home/drfoobar/.face";
radiusRatio = 0.2;
enableShadows = false;
};
location = {
monthBeforeDay = true;
name = "Munich, Germany";
};
appLauncher = {
enableClipboardHistory = true;
autoPasteClipboard = true;
terminalCommand = "ghostty -e";
iconMode = "tabler";
showIconBackground = true;
};
systemMonitor = {
enableDgpuMonitoring = true;
};
sessionMenu = {
enableCountdown = true;
countdownDuration = 4000;
};
powerOptions = [
{
action = "lock";
enabled = true;
}
{
action = "suspend";
enabled = true;
}
{
action = "reboot";
enabled = true;
}
{
action = "logout";
enabled = true;
}
{
action = "shutdown";
enabled = true;
}
];
};
};
home.file.".cache/noctalia/wallpapers.json" = {
text = builtins.toJSON {
defaultWallpaper = "~/Pictures/Wallpapers/safe/dark/mountain.jpg";
wallpapers = {
"DP-1" = "~/Pictures/Wallpapers/safe/dark/mountain.jpg";
};
};
};
}