added some debug scripts
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
lokiHost = "192.168.1.174:3100";
|
||||
in
|
||||
@@ -7,6 +7,11 @@ in
|
||||
SupplementaryGroups = [ "docker" ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(pkgs.writeShellScriptBin "pc" "systemctl status promtail.service")
|
||||
(pkgs.writeShellScriptBin "pw" "journalctl -u promtail.service -b -n 25 -f")
|
||||
];
|
||||
|
||||
services.promtail = {
|
||||
enable = true;
|
||||
configuration = {
|
||||
|
||||
Reference in New Issue
Block a user