impprove platform enumeration

This commit is contained in:
Fabian Montero 2024-09-08 15:20:09 -06:00
parent 2da7c4da32
commit a598918c63
Signed by: fabian
GPG key ID: 1FFAC35E1798174F

View file

@ -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;});
};
}