nix-config/modules/wm/noctalia/default.nix

78 lines
1.7 KiB
Nix

{ ... }:
{
programs.noctalia-shell = {
enable = true;
systemd.enable = true;
settings = {
# configure noctalia here
bar = {
density = "default";
position = "left";
floating = false;
showCapsule = false;
widgets = {
left = [
{
formatHorizontal = "HH:mm";
formatVertical = "HH mm";
id = "Clock";
useMonospacedFont = true;
usePrimaryColor = true;
}
{
id = "ControlCenter";
useDistroLogo = false;
colorize = true;
}
];
center = [
{
hideUnoccupied = false;
id = "Workspace";
labelMode = "index";
}
];
right = [
{
id = "Bluetooth";
}
{
id = "Volume";
}
{
id = "Tray";
}
];
};
};
colorSchemes = {
predefinedScheme = "Noctalia (default)";
darkMode = true;
};
ui = {
fontDefault = "VictorMono Nerd Font";
fontFixed = "VictorMono Nerd Font";
panelBackgroundOpacity = 1;
};
general = {
avatarImage = "/home/drfoobar/.face";
radiusRatio = 0.2;
};
location = {
monthBeforeDay = true;
name = "Munich, Germany";
};
};
};
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";
};
};
};
}