l logf: add urgency for lass@mors
This commit is contained in:
parent
05c30004c2
commit
0670606ddc
@ -10,9 +10,13 @@ let
|
|||||||
echelon = "197";
|
echelon = "197";
|
||||||
cloudkrebs = "119";
|
cloudkrebs = "119";
|
||||||
};
|
};
|
||||||
|
urgent = [
|
||||||
|
"\\blass@mors\\b"
|
||||||
|
];
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
(pkgs.writeDashBin "logf" ''
|
(pkgs.writeDashBin "logf" ''
|
||||||
|
export LOGF_URGENT=${pkgs.writeJSON "urgent" urgent}
|
||||||
export LOGF_HOST_COLORS=${pkgs.writeJSON "host-colors" host-colors}
|
export LOGF_HOST_COLORS=${pkgs.writeJSON "host-colors" host-colors}
|
||||||
${pkgs.logf}/bin/logf ${concatMapStringsSep " " (name: "root@${name}") (attrNames config.lass.hosts)}
|
${pkgs.logf}/bin/logf ${concatMapStringsSep " " (name: "root@${name}") (attrNames config.lass.hosts)}
|
||||||
'')
|
'')
|
||||||
|
Loading…
Reference in New Issue
Block a user