mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-09 17:52:36 +08:00
10 lines
269 B
Nix
10 lines
269 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
services.eternal-terminal.enable = true;
|
|
|
|
# Automatically open firewall port for eternal-terminal
|
|
networking.firewall.allowedTCPPorts = lib.optional
|
|
config.services.eternal-terminal.enable
|
|
config.services.eternal-terminal.port;
|
|
}
|