mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-14 10:30:52 -06:00
feat: services for nas all up and running
This commit is contained in:
parent
92088ed139
commit
8649008c93
9 changed files with 54 additions and 21 deletions
|
|
@ -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"; }
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue