blob: cf105f1ac8eca13b927b79c0c0c2fc617568d528 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{
pkgs,
system,
inputs,
}:
let
common = import ./common.nix { inherit pkgs; };
darwin = import ./darwin.nix { inherit pkgs system inputs; };
remote = import ./remote.nix { inherit pkgs; };
in
{
common = common;
remote = remote;
darwin = if pkgs.lib.hasSuffix "darwin" system then darwin else [ ];
all = common ++ remote ++ (if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]);
}
|