.dotfiles/profiles-clone/nixos/router/default.nix
2026-04-02 19:25:58 +02:00

14 lines
331 B
Nix

{ lib, config, ... }:
{
options.swarselprofiles.router = lib.mkEnableOption "enable the router profile";
config = lib.mkIf config.swarselprofiles.router {
swarselmodules = {
nftables = lib.mkDefault true;
server = {
router = lib.mkDefault true;
kea = lib.mkDefault true;
};
};
};
}