blob: 9660616718b7cebe4c1759927f0975f44c006d21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
inputs,
self,
...
}: let
inherit (inputs) nixinate openwrt-imagebuilder;
inherit ((inputs.getchoo.lib inputs).configs) mapHMUsers mapHosts;
in {
flake = {
nixosConfigurations = mapHosts ../hosts;
nixosModules.getchoo = import ../modules;
};
perSystem = {
pkgs,
system,
...
}: {
apps = (nixinate.nixinate.${system} self).nixinate;
legacyPackages.homeConfigurations = mapHMUsers system ../users;
packages = {
turret = pkgs.callPackage ../hosts/_turret {inherit openwrt-imagebuilder;};
};
};
}
|