diff options
author | tdback <tyler@tdback.net> | 2025-01-23 21:22:42 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-23 21:22:42 -0500 |
commit | 9d9d84699bc1bce6aac253cb70e97c100d1e4c84 (patch) | |
tree | 5532fb719100b19d236197967c4364554e9dc6d5 /modules/retired/navidrome/default.nix | |
parent | ebd0ac7a3aa6c681b6317da24b72d64962913f79 (diff) |
Retired modules have migrated to separate repo
Diffstat (limited to 'modules/retired/navidrome/default.nix')
-rw-r--r-- | modules/retired/navidrome/default.nix | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/modules/retired/navidrome/default.nix b/modules/retired/navidrome/default.nix deleted file mode 100644 index aeb8f18..0000000 --- a/modules/retired/navidrome/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ ... }: -let - directory = "/opt/navidrome"; -in -{ - systemd.tmpfiles.rules = builtins.map (x: "d ${x} 0755 share share - -") [ directory ]; - - virtualisation.oci-containers.containers.navidrome = { - image = "deluan/navidrome:latest"; - autoStart = true; - ports = [ - "4533:4533" - ]; - volumes = [ - "${directory}/data:/data" - "/tank/media/music:/music:ro" - ]; - environment = { - ND_SCANSCHEDULE = "1h"; - ND_LOGLEVEL = "info"; - ND_SESSIONTIMEOUT = "24h"; - ND_ENABLEUSEREDITING = "false"; - }; - }; - - services.caddy.virtualHosts."radioactive.brownbread.net".extraConfig = '' - encode zstd gzip - reverse_proxy http://localhost:4533 - ''; -} |