From aa7cd9f8dbacd023334d39d68c5f6b634af125b5 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Fri, 17 Oct 2025 17:32:59 +0200 Subject: [PATCH] gatus: Minor code cleanup --- modules/system/web-services/gatus.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/web-services/gatus.nix b/modules/system/web-services/gatus.nix index 5b7a385..f161446 100644 --- a/modules/system/web-services/gatus.nix +++ b/modules/system/web-services/gatus.nix @@ -139,7 +139,7 @@ in settings = { web = { address = "localhost"; - port = cfg.port; + inherit (cfg) port; }; storage = { type = "sqlite"; @@ -199,7 +199,7 @@ in ]; }; in - cfg.endpoints |> lib.attrValues |> lib.map (entry: mkEndpoint entry); + cfg.endpoints |> lib.attrValues |> lib.map mkEndpoint; }; };