impprove platform enumeration
This commit is contained in:
parent
2da7c4da32
commit
a598918c63
|
@ -120,13 +120,12 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
platformHome = platform: let
|
platformHome = name: platform: let
|
||||||
value = home platform;
|
value = home platform;
|
||||||
in {
|
in {
|
||||||
inherit value;
|
inherit name value;
|
||||||
name = "${value.config.home.username}@${value.config.local.hostname}";
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
mapAttrs' (_: platformHome) (importAll {root = ./home/platforms;});
|
mapAttrs' platformHome (importAll {root = ./home/platforms;});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue