NixOSConfig/flake.nix

30 lines
768 B
Nix
Raw Normal View History

2023-12-01 11:29:39 +00:00
{
description = "NixOS Machine Configurations by manuth";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
2023-12-02 00:40:38 +00:00
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);
};
2023-12-01 11:29:39 +00:00
}