dot.nix/host/komodo/default.nix
Chris Toph ed2507c9f1 DNS changed in OPNsense, proxy changes
- proxy no longer handles all the redirecting
- caddy modules in service lxcs
2025-01-22 17:28:07 -05:00

76 lines
1.1 KiB
Nix

{
modulesPath,
config,
pkgs,
hostName,
...
}:
{
## MODULES & IMPORTS ##
imports = [
# Common Modules
../../common/acme
../../common/lxc
../../common/ssh
# ../../common/vscode-server
# Import hardware configuration.
./hardware.nix
# Local Modules
./modules/caddy
./modules/frp
./modules/forgejo
./modules/komodo
];
## NETWORKING ##
networking.firewall = {
allowedTCPPorts = [
[REDACTED]
[REDACTED]
[REDACTED]
# 222 # Forgejo SSH
[REDACTED]
[REDACTED]
[REDACTED]
[REDACTED]
[REDACTED]
8080 # File Browser
[REDACTED]
[REDACTED]
[REDACTED]
[REDACTED]
[REDACTED]
];
# Game Server Ports
allowedTCPPortRanges = [
{
[REDACTED]
[REDACTED]
}
];
allowedUDPPorts = [
8089 # Grafana
];
};
## ENVIORMENT & PACKAGES ##
environment.systemPackages = with pkgs; [
compose2nix
git
micro
openssh
ranger
sshfs
wget
];
environment.variables = {
HOSTNAME = hostName;
};
## PROGRAMS & SERVICES ##
}