clan-infra/modules/flake-module.nix

30 lines
729 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-23 13:04:56 +00:00
inputs.clan-core.nixosModules.secrets
2023-07-05 15:19:22 +00:00
];
hcloud.imports = [
2023-07-04 14:43:31 +00:00
inputs.srvos.nixosModules.hardware-hetzner-cloud
./single-disk.nix
];
2023-07-17 08:31:59 +00:00
hetzner-ex101.imports = [
inputs.srvos.nixosModules.hardware-hetzner-online-intel
./xfs-lvm-crypto-raid.nix
./hetzner-ex101.nix
./initrd-networking.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
2023-07-04 17:40:45 +00:00
./web01
2023-07-04 14:43:31 +00:00
];
};
}