mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: split config more
This commit is contained in:
14
modules/nixos/usecases/development/angular.nix
Normal file
14
modules/nixos/usecases/development/angular.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ 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 ]; };
|
||||
}
|
||||
Reference in New Issue
Block a user