Add mail server to Grafana logs.

This commit is contained in:
Root User 2026-02-15 16:20:58 +01:00
parent fe289e0600
commit 4618c3f7fb
Signed by: root
GPG key ID: 087F0A95E5766D72
2 changed files with 27 additions and 1 deletions

View file

@ -1,3 +1,11 @@
## Todo, make a proper script for this ## Todo, make a proper script for this
EDITOR=micro nix-shell -p sops --run "SOPS_AGE_KEY_FILE=$HOME/.config/sops/age/keys.txt sops nix-system-configs/secrets/songsheet/secrets.yaml" EDITOR=micro nix-shell -p sops --run "SOPS_AGE_KEY_FILE=$HOME/.config/sops/age/keys.txt sops nix-system-configs/secrets/songsheet/secrets.yaml"
compose2nix --inputs nix-system-configs/modules/songsheet/wavelog/docker-compose.yml --sops_file nix-system-configs/secrets/songsheet/secrets.yaml --project=wavelog --output nix-system-configs/modules/songsheet/wavelog/docker-compose.nix --root_path nix-system-configs/modules/songsheet/wavelog compose2nix --inputs nix-system-configs/modules/songsheet/wavelog/docker-compose.yml --sops_file nix-system-configs/secrets/songsheet/secrets.yaml --project=wavelog --output nix-system-configs/modules/songsheet/wavelog/docker-compose.nix --root_path nix-system-configs/modules/songsheet/wavelog
# Todo make a proper script for this:
NIXOS_CONFIG="/home/nixosbm/the_prg_server_configuration/nix-system-configs/modules/system/mail-server.nix" nixos-rebuild build-image --image-variant proxmox
#Mind the ```
# - In `/home/nixosbm/the_prg_server_configuration/nix-system-configs/modules/bootloader/seabios-assigned-proxmox-at-birth.nix': "/dev/vda1"
# - In `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/virtualisation/proxmox-image.nix': "/dev/disk/by-label/nixos"
#```

View file

@ -130,6 +130,24 @@ in {
isDefault = false; isDefault = false;
editable = true; editable = true;
} }
{
name = "Prometheus - Mail Server";
type = "prometheus";
url = "http://10.1.1.15:9001";
isDefault = false;
editable = true;
}
{
name = "Loki - Mail Server";
type = "loki";
url = "http://10.1.1.15:3100";
isDefault = false;
editable = true;
}
]; ];
}; };
}; };