From bfdd8912c3f8f639cacf5aebeef56efdcba8366a Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 27 Oct 2022 15:40:12 +0200 Subject: [PATCH] poseidon: move navidrome to hades --- hosts/hades/default.nix | 5 +++++ hosts/poseidon/default.nix | 5 ----- services/navidrome.nix | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hosts/hades/default.nix b/hosts/hades/default.nix index ab84504..82ce8b9 100644 --- a/hosts/hades/default.nix +++ b/hosts/hades/default.nix @@ -73,6 +73,11 @@ in { privatePort = 8080; }; + navidrome = { + enable = true; + musicFolder.path = "${config.services.nextcloud.home}/data/alarsyo/files/Musique/Songs"; + }; + nextcloud = { enable = true; adminpassFile = config.age.secrets."nextcloud/admin-pass".path; diff --git a/hosts/poseidon/default.nix b/hosts/poseidon/default.nix index 77b36da..0e09da0 100644 --- a/hosts/poseidon/default.nix +++ b/hosts/poseidon/default.nix @@ -85,11 +85,6 @@ in { port = 8083; }; - navidrome = { - enable = true; - musicFolder.path = "${config.services.nextcloud.home}/data/alarsyo/files/Musique/Songs"; - }; - paperless = { enable = true; port = 8085; diff --git a/services/navidrome.nix b/services/navidrome.nix index c901495..ead8a5c 100644 --- a/services/navidrome.nix +++ b/services/navidrome.nix @@ -53,12 +53,12 @@ in { listen = [ # FIXME: hardcoded tailscale IP { - addr = "100.80.61.67"; + addr = "100.115.172.44"; port = 443; ssl = true; } { - addr = "100.80.61.67"; + addr = "100.115.172.44"; port = 80; ssl = false; }