summary refs log tree commit diff
path: root/nixos/modules/services/misc/subsonic.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-01-13 11:48:11 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-02-03 14:47:14 +0100
commit4fede53c0996938979d2966a69f108782a8c1c12 (patch)
tree6f15d992897ef0ef0b26636c6cb769e4868d86d5 /nixos/modules/services/misc/subsonic.nix
parente0feace5cde328a8f7478b2cf762991316d4c07c (diff)
downloadnixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar
nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar.gz
nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar.bz2
nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar.lz
nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar.xz
nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.tar.zst
nixpkgs-4fede53c0996938979d2966a69f108782a8c1c12.zip
nixos manuals: bring back package references
This reverts most of 89e983786a, as those references are sanitized now.
Fixes #10039, at least most of it.

The `sane` case wasn't fixed, as it calls a *function* in pkgs to get
the default value.
Diffstat (limited to 'nixos/modules/services/misc/subsonic.nix')
-rw-r--r--nixos/modules/services/misc/subsonic.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/services/misc/subsonic.nix b/nixos/modules/services/misc/subsonic.nix
index 2831e95b948..020d53a481d 100644
--- a/nixos/modules/services/misc/subsonic.nix
+++ b/nixos/modules/services/misc/subsonic.nix
@@ -97,6 +97,7 @@ in
 
       transcoders = mkOption {
         type = types.listOf types.path;
+        default = [ "${pkgs.ffmpeg}/bin/ffmpeg" ];
         description = ''
           List of paths to transcoder executables that should be accessible
           from Subsonic. Symlinks will be created to each executable inside
@@ -152,8 +153,5 @@ in
     };
 
     users.extraGroups.subsonic.gid = config.ids.gids.subsonic;
-
-    services.subsonic.transcoders = mkDefault [ "${pkgs.ffmpeg}/bin/ffmpeg" ];
-
   };
 }