feat[server]: add initial router config

This commit is contained in:
Leon Schwarzäugl 2025-11-10 01:30:18 +01:00 committed by Leon Schwarzäugl
parent 719d92c178
commit cea15be44d
11 changed files with 470 additions and 15 deletions

View file

@ -0,0 +1,12 @@
{ lib, config, ... }:
{
options.swarselprofiles.router = lib.mkEnableOption "enable the router profile";
config = lib.mkIf config.swarselprofiles.router {
swarselmodules = {
server = {
router = lib.mkDefault true;
};
};
};
}