refactor: simplify host setup

This commit is contained in:
Nickolaj Jepsen 2025-12-13 21:41:52 +01:00
parent 15fb616845
commit d1d4082d56
27 changed files with 147 additions and 90 deletions

View file

@ -1,10 +1,10 @@
{
config,
hostname,
lib,
...
}:
lib.mkIf config.fireproof.homelab.enable (let
inherit (config.fireproof) hostname;
mkScrapeConfig = name: {
job_name = name;
static_configs = [