From a5b628dd3084ee3f00c7428f68050e3d4b3a92dc Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Wed, 2 Jul 2025 14:48:21 -0600 Subject: [PATCH] fix: homeConfigurations need to be flattened --- flake.nix | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index 8b580d9..c1d709c 100644 --- a/flake.nix +++ b/flake.nix @@ -183,16 +183,18 @@ ) hosts ) lib.hosts; - homeConfigurations = builtins.mapAttrs ( - system: hosts: + homeConfigurations = flattenAttrset ( builtins.mapAttrs ( - name: module: - lib.buildHome { - inherit system module; - specialArgs = { inherit hostnames; }; - } - ) hosts - ) homeModules; + system: hosts: + builtins.mapAttrs ( + name: module: + lib.buildHome { + inherit system module; + specialArgs = { inherit hostnames; }; + } + ) hosts + ) homeModules + ); # Disk formatting, only used once diskoConfigurations = {