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

77 lines
1.8 KiB
Nix

{ ... }:
{
programs.noctalia-shell = {
enable = true;
systemd.enable = true;
settings = {
# configure noctalia here
bar = {
density = "compact";
position = "left";
floating = true;
marginHorizontal = 8;
marginVertical = 8;
showCapsule = false;
widgets = {
left = [
{
id = "ControlCenter";
useDistroLogo = true;
}
{
id = "Network";
}
{
id = "Bluetooth";
}
];
center = [
{
hideUnoccupied = false;
id = "Workspace";
labelMode = "none";
}
];
right = [
{
alwaysShowPercentage = false;
id = "Battery";
warningThreshold = 30;
}
{
formatHorizontal = "HH:mm";
formatVertical = "HH mm";
id = "Clock";
useMonospacedFont = true;
usePrimaryColor = true;
}
];
};
};
colorSchemes.predefinedScheme = "Monochrome";
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";
};
};
};
}