From a598918c63ce3f7c246d784bf1034a3faa920f59 Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Sun, 8 Sep 2024 15:20:09 -0600 Subject: [PATCH] impprove platform enumeration --- flake.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 1afd240..8f31fc7 100644 --- a/flake.nix +++ b/flake.nix @@ -120,13 +120,12 @@ ]; }; - platformHome = platform: let + platformHome = name: platform: let value = home platform; in { - inherit value; - name = "${value.config.home.username}@${value.config.local.hostname}"; + inherit name value; }; in - mapAttrs' (_: platformHome) (importAll {root = ./home/platforms;}); + mapAttrs' platformHome (importAll {root = ./home/platforms;}); }; }