From a545bcb37724d50bf6d2abc68a68ae87ebc75b81 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Thu, 7 May 2020 16:08:32 +0200 Subject: [PATCH] Automatically discover home-instances from config --- lib/test.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/test.nix b/lib/test.nix index ac46585f..a4c18fe0 100644 --- a/lib/test.nix +++ b/lib/test.nix @@ -33,14 +33,7 @@ in rec { repoSrc = "git@hera.m-0.eu:nixos-config"; configPath = "/etc/nixos"; systems = [ "apollo" "hera" ]; - homes = [ - "apollo-tinkering" - "apollo-leisure" - "apollo-orga" - "apollo-research" - "hera" - "hephaistos" - ]; + homes = pkgs.lib.attrNames (import ../home.nix); keys = [ "default" "apollo" "hera" ]; test-config = writeHaskellScript { name = "test-config";