clan-infra/targets/flake-module.nix
Jörg Thalheim 41a926e4c7
All checks were successful
build / test (pull_request) Successful in 9s
checks / test (pull_request) Successful in 21s
use also buildClan
2023-09-19 14:42:28 +02:00

18 lines
381 B
Nix

{ self, inputs, ... }:
{
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) ];
};
};
};
}