Files
TheaninovOS/modules/nixos/usecases/development/angular.nix

15 lines
277 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 = [ 8100 ]; };
}