nixos-config/flake.nix

13 lines
367 B
Nix
Raw Normal View History

2021-03-31 22:15:08 +00:00
{
2021-04-09 04:35:43 +00:00
inputs.unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
2021-04-09 04:34:16 +00:00
inputs.stable2009.url = "github:NixOS/nixpkgs/nixos-20.09";
2021-04-06 03:11:17 +00:00
2021-04-09 04:35:43 +00:00
outputs = { self, unstable, stable2009 }: {
nixosModule = { ... }: {
imports = [ ./. ];
config = { sconfig.flakes.enable = true; };
};
2021-04-09 04:35:43 +00:00
nixosConfigurations = import ./hosts { inherit unstable stable2009; };
2021-03-31 22:15:08 +00:00
};
}