diff options
| author | caley <195605706+cqley@users.noreply.github.com> | 2026-07-18 15:18:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-18 15:18:19 +0200 |
| commit | 3f79f685b90157ea182fa42c3f5aebb4c140ddd8 (patch) | |
| tree | 9b1eaf85d41b94107fa930e74fa947eb2c6a5900 /nixos/hosts | |
| parent | db637ef4b2143d01b0ffb92fb90b3d9506e27efd (diff) | |
Update configuration.nix
Diffstat (limited to 'nixos/hosts')
| -rw-r--r-- | nixos/hosts/bin/configuration.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/nixos/hosts/bin/configuration.nix b/nixos/hosts/bin/configuration.nix index d807cc8..09ff9e9 100644 --- a/nixos/hosts/bin/configuration.nix +++ b/nixos/hosts/bin/configuration.nix @@ -29,7 +29,7 @@ networking.firewall = { enable = true; - allowedTCPPorts = [ 25565 ]; + allowedTCPPorts = [ 25565 4533 ]; allowedUDPPorts = [ 51820 ]; trustedInterfaces = [ "wg0" ]; }; @@ -130,6 +130,15 @@ }; }; + services.navidrome = { + enable = true; + settings = { + Address = "0.0.0.0"; + Port = 4533; + MusicFolder = "/var/lib/navidrome/music"; + }; + }; + services.nginx = { enable = true; virtualHosts."5.231.118.254" = { |
