mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
20 lines
304 B
Nix
20 lines
304 B
Nix
{ config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.usecases.development.angular;
|
|
in
|
|
{
|
|
options.usecases.development.angular = {
|
|
enable = mkEnableOption "Enable Angular develompent";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
networking.firewall.allowedTCPPorts = [
|
|
3000
|
|
8100
|
|
];
|
|
};
|
|
}
|