nixos-config/flake.nix
2021-04-10 23:11:06 -04:00

12 lines
382 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 { sconfig = ./.; inherit unstable stable2009; };
};
}