summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-11-10 10:15:54 +0100
committerJörg Thalheim <joerg@thalheim.io>2020-11-10 10:49:21 +0100
commit689eb49d4261296acefcc175d93e77f6599b4ed9 (patch)
tree650cd27d3abdfd4d72886140803b83ee30c4ada6
parentbeafea6499338bf41d9b15e5c8770c74f6e037dc (diff)
downloadnixpkgs-689eb49d4261296acefcc175d93e77f6599b4ed9.tar
nixpkgs-689eb49d4261296acefcc175d93e77f6599b4ed9.tar.gz
nixpkgs-689eb49d4261296acefcc175d93e77f6599b4ed9.tar.bz2
nixpkgs-689eb49d4261296acefcc175d93e77f6599b4ed9.tar.lz
nixpkgs-689eb49d4261296acefcc175d93e77f6599b4ed9.tar.xz
nixpkgs-689eb49d4261296acefcc175d93e77f6599b4ed9.tar.zst
nixpkgs-689eb49d4261296acefcc175d93e77f6599b4ed9.zip
nixos/loki: add logcli to system path
Admins quite likely want to query loki for debugging purpose.
-rw-r--r--nixos/modules/services/monitoring/loki.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/loki.nix b/nixos/modules/services/monitoring/loki.nix
index f4eec7e0d28..d5e7beeb043 100644
--- a/nixos/modules/services/monitoring/loki.nix
+++ b/nixos/modules/services/monitoring/loki.nix
@@ -78,6 +78,8 @@ in {
       '';
     }];
 
+    environment.systemPackages = [ pkgs.grafana-loki ]; # logcli
+
     users.groups.${cfg.group} = { };
     users.users.${cfg.user} = {
       description = "Loki Service User";