summary refs log tree commit diff
path: root/nixos/modules/services/misc/subsonic.nix
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2015-12-24 00:13:15 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2015-12-24 00:13:15 +0100
commit6b10df7eaa28e7f1d107603f9e252bc6f1f78acd (patch)
tree7af1cb9dd6875b1f585aff4d7438fd4fc94e0aa1 /nixos/modules/services/misc/subsonic.nix
parente0b0b9723c282c6fc181a4428dcbb121a180d631 (diff)
downloadnixpkgs-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar
nixpkgs-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar.gz
nixpkgs-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar.bz2
nixpkgs-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar.lz
nixpkgs-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar.xz
nixpkgs-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar.zst
nixpkgs-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.zip
nixos/subsonic: rename 'host' to 'listenAddress'
More descriptive option name.
Diffstat (limited to 'nixos/modules/services/misc/subsonic.nix')
-rw-r--r--nixos/modules/services/misc/subsonic.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/subsonic.nix b/nixos/modules/services/misc/subsonic.nix
index 4d164ad8d65..2831e95b948 100644
--- a/nixos/modules/services/misc/subsonic.nix
+++ b/nixos/modules/services/misc/subsonic.nix
@@ -21,7 +21,7 @@ in
         '';
       };
 
-      host = mkOption {
+      listenAddress = mkOption {
         type = types.string;
         default = "0.0.0.0";
         description = ''
@@ -115,7 +115,7 @@ in
         ExecStart = ''
           ${pkgs.jre}/bin/java -Xmx${toString cfg.maxMemory}m \
             -Dsubsonic.home=${cfg.home} \
-            -Dsubsonic.host=${cfg.host} \
+            -Dsubsonic.host=${cfg.listenAddress} \
             -Dsubsonic.port=${toString cfg.port} \
             -Dsubsonic.httpsPort=${toString cfg.httpsPort} \
             -Dsubsonic.contextPath=${cfg.contextPath} \