diff --git a/containers/emerald/configuration.nix b/containers/emerald/configuration.nix index f69a4c6..e3f8c57 100644 --- a/containers/emerald/configuration.nix +++ b/containers/emerald/configuration.nix @@ -1,6 +1,7 @@ { fqdn, shareFqdn, ... }: { system.stateVersion = "25.11"; systemd.tmpfiles.rules = [ + "d /persist/music 755 navidrome navidrome" "d /persist/navidrome 755 navidrome navidrome" ]; networking.firewall.allowedTCPPorts = [ 4533 ]; @@ -16,7 +17,7 @@ ShareURL = "https://${shareFqdn}"; EnableSharing = true; DataFolder = "/persist/navidrome"; - MusicFolder = "/binds/music"; + MusicFolder = "/persist/music"; }; }; } diff --git a/containers/emerald/flake.nix b/containers/emerald/flake.nix index 5ecf768..2b3b483 100644 --- a/containers/emerald/flake.nix +++ b/containers/emerald/flake.nix @@ -67,11 +67,6 @@ mountPoint = "/persist"; isReadOnly = false; }; - bindMounts."music" = { - hostPath = "/persist/media/music"; - mountPoint = "/binds/music"; - isReadOnly = true; - }; bindMounts."navidrome_env" = { hostPath = config.age.secrets.navidrome_env.path; mountPoint = "/binds/navidrome_env"; diff --git a/containers/fluorite/flake.nix b/containers/fluorite/flake.nix index 7acbc55..3205815 100644 --- a/containers/fluorite/flake.nix +++ b/containers/fluorite/flake.nix @@ -33,7 +33,6 @@ enableIPv6 = true; internalInterfaces = [ "ve-${name}" ]; }; - networking.firewall.allowedTCPPorts = [ 50300 ]; services.nginx.virtualHosts."${fqdn}" = { useACMEHost = "lava.moe"; @@ -59,14 +58,6 @@ config = { imports = modules; }; specialArgs = { inherit fqdn; }; - forwardPorts = [ - { - containerPort = 50300; - hostPort = 50300; - protocol = "tcp"; - } - ]; - bindMounts."persist" = { hostPath = "/persist/containers/${name}"; mountPoint = "/persist";