]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - virtual/modules/websites/tools/tools/ympd.nix
Add rompr
[perso/Immae/Config/Nix.git] / virtual / modules / websites / tools / tools / ympd.nix
index 74bf2e5d202c65449a6af4e152207405eafdcd9b..57443603aa891589f747275ba61b01b8934a6d7d 100644 (file)
@@ -1,12 +1,9 @@
-{}:
+{ env }:
 let
   ympd = rec {
     config = {
-      webPort = "localhost:18001";
-      mpd = {
-        host = "malige.home.immae.eu";
-        port = 6600;
-      };
+      webPort = "localhost:${env.listenPort}";
+      mpd = env.mpd;
     };
     apache = {
       modules = [