nixos-config/flake.nix
2021-04-12 20:42:45 -04:00

12 lines
386 B
Nix

{
inputs.unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.stable2009.url = "github:NixOS/nixpkgs/nixos-20.09";
outputs = { self, unstable, stable2009 }: {
nixosModule = { ... }: {
imports = [ ./. ];
config = { sconfig.flakes.enable = true; };
};
nixosConfigurations = import ./hosts { modules = [ ./. ]; inherit unstable stable2009; };
};
}