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