about summary refs log tree commit diff
path: root/nix/lib/default.nix
blob: 1fc134e70644c49c6fdcab6884ac59a2fa045734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# original:
# https://git.clerie.de/clerie/nixfiles/src/branch/master/lib/default.nix

inputs:

let
  callLibs = file: import file ({ inherit lib inputs; } // inputs);

  lib = {
    flake-helper = callLibs ./flake-helper.nix;
    inherit ("flake-helper")
      generateSystem
      mapToNixosConfigurations
      mapToDarwinConfigurations
      generateDeployRsHost
      mapToDeployRsConfiguration
      buildHosts
      ;
  };
in
lib