clan-infra/targets/flake-module.nix

18 lines
381 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-19 12:04:52 +00:00
flake.nixosConfigurations = inputs.clan-core.lib.buildClan {
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
}