.dotfiles/profiles/nixos/router/default.nix
2025-11-10 01:31:02 +01:00

12 lines
260 B
Nix

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