blob: 2f6aa1827255eabfa2f1992eef257a920bb7d7dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{ self, ... } @ inputs:
let
pkgs = import inputs.unstable-small { system = "x86_64-linux"; };
inherit (pkgs.lib) genAttrs mapAttrs';
hostNames = __attrNames self.homeConfigurations;
attrHostNames = genAttrs hostNames (name: "home/config/${name}");
configs = mapAttrs' (name: pname: { name = pname; value = self.homeConfigurations.${name}.activationPackage; }) attrHostNames;
in
{ x86_64-linux = configs; }
|