summary refs log tree commit diff
path: root/nixos/modules/services/misc/subsonic.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-24 11:42:32 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-24 11:50:58 +0200
commit89e983786a4e2cf6dd238af4df6da373cc01e62b (patch)
tree857ecb8eab59fe1855b1fb311e6e1e9ec8303bdc /nixos/modules/services/misc/subsonic.nix
parente73b19ae4e984f58cebe4dd4f82cda622da552ab (diff)
downloadnixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.gz
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.bz2
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.lz
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.xz
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.tar.zst
nixpkgs-89e983786a4e2cf6dd238af4df6da373cc01e62b.zip
Manual: Remove store path references
Diffstat (limited to 'nixos/modules/services/misc/subsonic.nix')
-rw-r--r--nixos/modules/services/misc/subsonic.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/subsonic.nix b/nixos/modules/services/misc/subsonic.nix
index 3e1a2e8fbb5..4d164ad8d65 100644
--- a/nixos/modules/services/misc/subsonic.nix
+++ b/nixos/modules/services/misc/subsonic.nix
@@ -97,7 +97,6 @@ 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
@@ -153,5 +152,8 @@ in
     };
 
     users.extraGroups.subsonic.gid = config.ids.gids.subsonic;
+
+    services.subsonic.transcoders = mkDefault [ "${pkgs.ffmpeg}/bin/ffmpeg" ];
+
   };
 }