summaryrefslogtreecommitdiffstats
path: root/lass/2configs/logf.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-02-13 17:33:46 +0100
committerlassulus <lassulus@lassul.us>2018-02-13 17:33:46 +0100
commit0670606ddc376d165bb2ebc1846469216565fd6a (patch)
tree946010ec0397b696e202b268fd38007971ce0360 /lass/2configs/logf.nix
parent05c30004c2c27e97437aef441ddc5ae1724ae03c (diff)
l logf: add urgency for lass@mors
Diffstat (limited to 'lass/2configs/logf.nix')
-rw-r--r--lass/2configs/logf.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lass/2configs/logf.nix b/lass/2configs/logf.nix
index 03414a745..24b806efa 100644
--- a/lass/2configs/logf.nix
+++ b/lass/2configs/logf.nix
@@ -10,9 +10,13 @@ let
echelon = "197";
cloudkrebs = "119";
};
+ urgent = [
+ "\\blass@mors\\b"
+ ];
in {
environment.systemPackages = [
(pkgs.writeDashBin "logf" ''
+ export LOGF_URGENT=${pkgs.writeJSON "urgent" urgent}
export LOGF_HOST_COLORS=${pkgs.writeJSON "host-colors" host-colors}
${pkgs.logf}/bin/logf ${concatMapStringsSep " " (name: "root@${name}") (attrNames config.lass.hosts)}
'')