feat: services for nas all up and running

This commit is contained in:
Nick 2025-12-09 21:01:56 -06:00
parent 92088ed139
commit 8649008c93
9 changed files with 54 additions and 21 deletions

View file

@ -59,7 +59,8 @@ in
# Rocket (Web Server) Settings
ROCKET_ADDRESS = "0.0.0.0";
ROCKET_PORT = serviceCfg.ports.port0;
# ROCKET_PORT = serviceCfg.ports.port0;
ENABLE_WEBSOCKET = true;
};
# Environment file with secrets (mounted from host)
@ -77,6 +78,7 @@ in
networking.firewall.allowedTCPPorts = [
22
587
serviceCfg.ports.port0
];
systemd = {
services = {
@ -85,7 +87,7 @@ in
network = {
enable = true;
networks."20-lan" = {
matchConfig.Name = "enp0s*";
matchConfig.Name = "enp0s5";
addresses = [
{ Address = "${ip}/24"; }
];