diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-12-24 00:13:15 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-12-24 00:13:15 +0100 |
commit | 6b10df7eaa28e7f1d107603f9e252bc6f1f78acd (patch) | |
tree | 7af1cb9dd6875b1f585aff4d7438fd4fc94e0aa1 /nixos | |
parent | e0b0b9723c282c6fc181a4428dcbb121a180d631 (diff) | |
download | nixlib-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar nixlib-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar.gz nixlib-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar.bz2 nixlib-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar.lz nixlib-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar.xz nixlib-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.tar.zst nixlib-6b10df7eaa28e7f1d107603f9e252bc6f1f78acd.zip |
nixos/subsonic: rename 'host' to 'listenAddress'
More descriptive option name.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/rename.nix | 1 | ||||
-rw-r--r-- | nixos/modules/services/misc/subsonic.nix | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix index b099a528d9b6..c9e91cca2ec5 100644 --- a/nixos/modules/rename.nix +++ b/nixos/modules/rename.nix @@ -17,6 +17,7 @@ with lib; (mkRenamedOptionModule [ "services" "dockerRegistry" "host" ] [ "services" "dockerRegistry" "listenAddress" ]) (mkRenamedOptionModule [ "services" "mpd" "network" "host" ] [ "services" "mpd" "network" "listenAddress" ]) (mkRenamedOptionModule [ "services" "neo4j" "host" ] [ "services" "neo4j" "listenAddress" ]) + (mkRenamedOptionModule [ "services" "subsonic" "host" ] [ "services" "subsonic" "listenAddress" ]) # Old Grub-related options. (mkRenamedOptionModule [ "boot" "initrd" "extraKernelModules" ] [ "boot" "initrd" "kernelModules" ]) diff --git a/nixos/modules/services/misc/subsonic.nix b/nixos/modules/services/misc/subsonic.nix index 4d164ad8d65f..2831e95b9480 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} \ |