clan-infra/targets/flake-module.nix

18 lines
361 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-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
}