nixos-config/flake.nix

13 lines
338 B
Nix
Raw Normal View History

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