os/flake.nix
Timothy DeHerrera ae0746a5a4
utils: create utility functions to ease repetition
`reqImport` in particular, is useful for easily importing an entire
directory of nix files into an attribute set.
2019-12-13 21:30:43 -07:00

21 lines
370 B
Nix

{
description = "A highly structured configuration database.";
epoch = 201909;
outputs = { self, nixpkgs, nix }: {
nixosConfigurations =
let
configs = import ./configurations {
inherit nix nixpkgs;
flake = self;
utils = import ./lib/utils.nix { lib = nixpkgs.lib; };
};
in
configs;
};
}