clan-infra/modules/flake-module.nix

32 lines
765 B
Nix
Raw Normal View History

2023-07-05 15:19:22 +00:00
{ self, inputs, ... }: {
2023-07-04 14:43:31 +00:00
flake.nixosModules = {
2023-07-05 15:19:22 +00:00
server.imports = [
2023-07-04 14:43:31 +00:00
inputs.srvos.nixosModules.server
2023-07-19 13:45:49 +00:00
inputs.srvos.nixosModules.mixins-telegraf
2023-08-09 09:04:31 +00:00
# FIXME: switch to VPN later
{ networking.firewall.allowedTCPPorts = [ 9273 ]; }
2023-08-30 15:10:52 +00:00
2023-09-06 09:21:34 +00:00
./admins.nix
2023-07-05 15:19:22 +00:00
];
2023-09-05 14:09:51 +00:00
hetzner-ax102.imports = [
inputs.srvos.nixosModules.hardware-hetzner-online-amd
./zfs-crypto-raid.nix
2023-07-17 08:31:59 +00:00
./initrd-networking.nix
];
2024-04-30 11:17:19 +00:00
buildbot.imports = [
inputs.buildbot-nix.nixosModules.master
inputs.buildbot-nix.nixosModules.worker
./buildbot.nix
];
2023-07-04 14:43:31 +00:00
web01.imports = [
2023-07-05 15:19:22 +00:00
self.nixosModules.server
2023-07-05 15:38:01 +00:00
inputs.srvos.nixosModules.mixins-nginx
inputs.srvos.nixosModules.mixins-nix-experimental
2023-07-04 17:40:45 +00:00
./web01
2023-07-04 14:43:31 +00:00
];
};
}