clan-infra/targets/flake-module.nix

19 lines
385 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 {
2023-11-03 09:28:59 +00:00
clanName = "infra";
2023-09-19 12:04:52 +00:00
directory = self;
# Make flake available in modules
specialArgs = {
self = {
inherit (self) inputs nixosModules packages;
};
};
machines = {
web01 = { modulesPath, ... }: {
imports = [ (./web01/configuration.nix) ];
};
};
};
2023-07-04 14:43:31 +00:00
}