From 6a302a08cb0ffae537caacaa85f89fea9d340bbf Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Fri, 26 Jan 2024 14:22:18 +1000
Subject: [PATCH] modules/nixos/hydra: set localhost supportedFeatures from
 host configuration

---
 modules/nixos/hydra.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/nixos/hydra.nix b/modules/nixos/hydra.nix
index ec54fc2..3397a77 100644
--- a/modules/nixos/hydra.nix
+++ b/modules/nixos/hydra.nix
@@ -31,7 +31,7 @@
         '')
 
         (pkgs.writeText "local" ''
-          localhost x86_64-linux,builtin - 8 1 nixos-test,big-parallel,kvm - -
+          localhost x86_64-linux,builtin - 8 1 ${pkgs.lib.concatStringsSep "," config.nix.settings.system-features} - -
         '')
       ];
       hydraURL = "https://hydra.nix-community.org";