mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
12 lines
386 B
Nix
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; };
|
|
};
|
|
}
|