nixos-config/flake.nix

14 lines
308 B
Nix
Raw Normal View History

2021-03-31 22:15:08 +00:00
{
2021-06-02 20:46:32 +00:00
inputs.nixpkgs.url = "nixpkgs/nixos-21.05";
inputs.unstable.url = "nixpkgs/nixos-unstable";
2021-04-06 03:11:17 +00:00
2021-06-05 06:22:38 +00:00
outputs = { self, ... }@inputs:
{
nixosModule = { ... }: { imports = [ ./. ]; };
nixosConfigurations = self.lib.getHosts inputs ./hosts;
lib.getHosts = import lib/hosts.nix;
};
2021-03-31 22:15:08 +00:00
}