From 8b96dd41971e008a6a2527fe10c6670d2248117e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 6 Feb 2023 20:44:14 +0100 Subject: Apply statix suggestions --- nixos/modules/monitoring.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/monitoring.nix') diff --git a/nixos/modules/monitoring.nix b/nixos/modules/monitoring.nix index 86a37e4..44d3cb5 100644 --- a/nixos/modules/monitoring.nix +++ b/nixos/modules/monitoring.nix @@ -6,7 +6,7 @@ }: with lib; let cnf = config.cynerd.monitoring; - hostName = config.networking.hostName; + inherit (config.networking) hostName; isHost = cnf.host == hostName; in { options.cynerd.monitoring = { -- cgit v1.2.3