29 lines
768 B
Nix
29 lines
768 B
Nix
{
|
|
description = "NixOS Machine Configurations by manuth";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
system = import ./lib/system.nix {
|
|
inherit nixpkgs;
|
|
};
|
|
systems = [
|
|
{
|
|
name = "nixos";
|
|
}
|
|
];
|
|
in {
|
|
nixosConfigurations = builtins.listToAttrs
|
|
(
|
|
builtins.map (
|
|
{ name, config ? {} }:
|
|
{
|
|
inherit name;
|
|
value = system name config;
|
|
})
|
|
systems);
|
|
};
|
|
}
|