From 9e0817c09c23296a03a8c645b4bfe9302e482a6f Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 23 Oct 2022 23:04:07 +0200 Subject: [PATCH] pkgs/switch-report: fix ap list --- nix/pkgs/switch-report.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/pkgs/switch-report.nix b/nix/pkgs/switch-report.nix index 6cd0604..bc1ccf5 100644 --- a/nix/pkgs/switch-report.nix +++ b/nix/pkgs/switch-report.nix @@ -75,7 +75,7 @@ let reportHosts ( lib.naturalSort ( builtins.filter (hostName: - config.site.hosts.${hostName}.role == "switch" + config.site.hosts.${hostName}.role == role ) (builtins.attrNames config.site.hosts) ) );