summaryrefslogtreecommitdiff
path: root/hosts/profiles.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/profiles.nix')
-rw-r--r--hosts/profiles.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/hosts/profiles.nix b/hosts/profiles.nix
index 5b200c2..ae25d91 100644
--- a/hosts/profiles.nix
+++ b/hosts/profiles.nix
@@ -103,10 +103,22 @@ in {
server = {
enable = true;
- services.promtail.enable = true;
+ services.promtail = {
+ enable = true;
+ clients = [
+ {
+ url = "http://p-body:3030/loki/api/v1/push";
+ }
+ ];
+ };
};
};
+ services.prometheus.exporters.node = {
+ enable = true;
+ enabledCollectors = ["systemd"];
+ };
+
nix.registry.nixpkgs.flake = nixpkgs-stable;
system.stateVersion = "23.05";
}