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;
|
||||
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;});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue