about summary refs log tree commit diff
path: root/nix/lib/default.nix
blob: 99a47fcc256486032f1f9d4849eaef15e3208705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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