nixos-config/flake.nix

13 lines
349 B
Nix
Raw Normal View History

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