mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 04:34:25 +01:00
Enable alloy on all servers
This commit is contained in:
parent
7fbb1de671
commit
60b0e790a8
4 changed files with 34 additions and 3 deletions
|
|
@ -74,6 +74,15 @@
|
|||
domain = "speedtest.${sproutedDomain}";
|
||||
};
|
||||
|
||||
alloy = {
|
||||
enable = true;
|
||||
domain = "alloy-${config.networking.hostName}.${config.custom.services.tailscale.domain}";
|
||||
collect = {
|
||||
hostMetrics = true;
|
||||
sshdLogs = true;
|
||||
};
|
||||
};
|
||||
|
||||
caddy.virtualHosts =
|
||||
let
|
||||
inherit (config.custom) services;
|
||||
|
|
@ -106,6 +115,9 @@
|
|||
flush_interval -1
|
||||
'';
|
||||
};
|
||||
alloy = {
|
||||
inherit (services.alloy) domain port;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue