nixos-config/flake.nix
2021-06-05 02:22:38 -04:00

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;
};
}