2023-01-31 23:59:53 +02:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
group = imports: { inherit imports; };
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
flake.nixosModules = with config.flake.nixosModules; {
|
2023-08-27 23:52:08 +03:00
|
|
|
ascensions = ./ascensions;
|
2023-08-27 17:25:44 +03:00
|
|
|
consul-distributed-services = ./consul-distributed-services;
|
2023-01-31 23:59:53 +02:00
|
|
|
consul-service-registry = ./consul-service-registry;
|
2023-03-22 19:16:43 +02:00
|
|
|
effect-receiver = ./effect-receiver;
|
2023-01-31 23:59:53 +02:00
|
|
|
enterprise = ./enterprise;
|
2023-08-23 01:55:48 +03:00
|
|
|
external-storage = ./external-storage;
|
2023-01-31 23:59:53 +02:00
|
|
|
fail2ban = ./fail2ban;
|
|
|
|
hyprspace = ./hyprspace;
|
|
|
|
ipfs = ./ipfs;
|
|
|
|
ipfs-cluster = ./ipfs-cluster;
|
|
|
|
maintenance = ./maintenance;
|
|
|
|
minimal = ./minimal;
|
|
|
|
motd = ./motd;
|
2023-10-25 00:38:11 +03:00
|
|
|
networking = ./networking;
|
2023-01-31 23:59:53 +02:00
|
|
|
nix-builder = ./nix-builder;
|
|
|
|
nix-config-server = ./nix-config/server.nix;
|
2024-07-16 03:02:48 +03:00
|
|
|
nixpkgs-config = ./nixpkgs-config;
|
2023-01-31 23:59:53 +02:00
|
|
|
nix-register-flakes = ./nix-register-flakes;
|
|
|
|
patroni = ./patroni;
|
|
|
|
port-magic = ./port-magic;
|
2024-07-16 15:01:32 +03:00
|
|
|
reflection = ./reflection;
|
2023-01-31 23:59:53 +02:00
|
|
|
shell-config = ./shell-config;
|
|
|
|
ssh = ./ssh;
|
|
|
|
system-recovery = ./system-recovery;
|
2023-08-23 19:03:02 +03:00
|
|
|
systemd-extras = ./systemd-extras;
|
2023-01-31 23:59:53 +02:00
|
|
|
tested = ./tested;
|
|
|
|
|
|
|
|
machineBase = group [
|
|
|
|
enterprise
|
|
|
|
maintenance
|
|
|
|
minimal
|
2024-07-16 03:02:48 +03:00
|
|
|
nixpkgs-config
|
2023-01-31 23:59:53 +02:00
|
|
|
port-magic
|
2024-07-16 15:01:32 +03:00
|
|
|
reflection
|
2023-01-31 23:59:53 +02:00
|
|
|
ssh
|
2023-08-23 19:03:02 +03:00
|
|
|
systemd-extras
|
2023-01-31 23:59:53 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
serverBase = group [
|
|
|
|
machineBase
|
2023-08-27 23:52:08 +03:00
|
|
|
ascensions
|
2023-08-27 17:25:44 +03:00
|
|
|
consul-distributed-services
|
2023-01-31 23:59:53 +02:00
|
|
|
consul-service-registry
|
2023-03-22 19:16:43 +02:00
|
|
|
effect-receiver
|
2023-08-23 01:55:48 +03:00
|
|
|
external-storage
|
2023-01-31 23:59:53 +02:00
|
|
|
fail2ban
|
|
|
|
motd
|
2023-10-25 00:38:11 +03:00
|
|
|
networking
|
2023-01-31 23:59:53 +02:00
|
|
|
nix-config-server
|
|
|
|
system-recovery
|
|
|
|
tested
|
|
|
|
];
|
|
|
|
|
|
|
|
containerBase = group [
|
|
|
|
machineBase
|
|
|
|
nix-config-server
|
|
|
|
];
|
|
|
|
|
|
|
|
backboneBase = group [
|
|
|
|
serverBase
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|