mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
13 lines
308 B
Nix
13 lines
308 B
Nix
{
|
|
inputs.nixpkgs.url = "nixpkgs/nixos-21.05";
|
|
inputs.unstable.url = "nixpkgs/nixos-unstable";
|
|
|
|
outputs = { self, ... }@inputs:
|
|
{
|
|
nixosModule = { ... }: { imports = [ ./. ]; };
|
|
|
|
nixosConfigurations = self.lib.getHosts inputs ./hosts;
|
|
|
|
lib.getHosts = import lib/hosts.nix;
|
|
};
|
|
}
|