nixos/munin: require DejaVu fonts if enabled
munin-graph is hardcoded to use DejaVu Mono for the graph legends; if it can't find it, there's no guarantee it finds a monospaced font at all, and if it can't find a monospaced font the legends come out badly misformatted.
This commit is contained in:
parent
0c3208a8e4
commit
b5b82b2cae
@ -223,6 +223,10 @@ in
|
|||||||
|
|
||||||
}) (mkIf cronCfg.enable {
|
}) (mkIf cronCfg.enable {
|
||||||
|
|
||||||
|
# Munin is hardcoded to use DejaVu Mono and the graphs come out wrong if
|
||||||
|
# it's not available.
|
||||||
|
fonts.fonts = [ pkgs.dejavu_fonts ];
|
||||||
|
|
||||||
systemd.timers.munin-cron = {
|
systemd.timers.munin-cron = {
|
||||||
description = "batch Munin master programs";
|
description = "batch Munin master programs";
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user