feat[server]: add initial router config

This commit is contained in:
Leon Schwarzäugl 2025-11-10 01:30:18 +01:00
parent 30a97098af
commit ca35e7894d
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
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;
};
};
};
}