NixOSConfig/flake.nix

30 lines
794 B
Nix
Raw Normal View History

2023-12-01 11:29:39 +00:00
{
description = "NixOS Machine Configurations by manuth";
inputs = {
2024-05-01 03:00:13 +00:00
nixpkgs.url = "nixpkgs/e73004a744e8e8244d2e31c10931aad9610ec5d7";
2023-12-01 11:29:39 +00:00
};
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
}