diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-11-10 10:15:54 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-11-10 10:49:21 +0100 |
commit | 689eb49d4261296acefcc175d93e77f6599b4ed9 (patch) | |
tree | 650cd27d3abdfd4d72886140803b83ee30c4ada6 /nixos | |
parent | beafea6499338bf41d9b15e5c8770c74f6e037dc (diff) |
nixos/loki: add logcli to system path
Admins quite likely want to query loki for debugging purpose.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/monitoring/loki.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/loki.nix b/nixos/modules/services/monitoring/loki.nix index f4eec7e0d2841..d5e7beeb04381 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"; |