clan-infra/targets/flake-module.nix

17 lines
343 B
Nix
Raw Normal View History

2023-09-19 12:04:52 +00:00
{ self, inputs, ... }:
2023-07-04 14:43:31 +00:00
{
2023-09-28 15:09:27 +00:00
flake = inputs.clan-core.lib.buildClan {
2024-06-10 10:10:40 +00:00
meta.name = "infra";
2023-09-19 12:04:52 +00:00
directory = self;
# Make flake available in modules
2024-06-06 15:52:20 +00:00
specialArgs.self = {
inherit (self) inputs nixosModules packages;
2023-09-19 12:04:52 +00:00
};
machines = {
2024-06-06 15:52:20 +00:00
web01 = {
2023-09-19 12:04:52 +00:00
imports = [ (./web01/configuration.nix) ];
};
};
};
2023-07-04 14:43:31 +00:00
}