summary refs log tree commit diff
path: root/nixos/modules/services/audio/mopidy.nix
diff options
context:
space:
mode:
authorLangston Barrett <langston.barrett@gmail.com>2016-07-31 18:35:09 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-07-31 18:35:09 +0200
commita28273df32b970e29872b29ad87b4131c68f9a06 (patch)
treef5b86e8e0e4a62d622e91b1f16016941ba44df65 /nixos/modules/services/audio/mopidy.nix
parentac98cc4d94aa8956866acd1776676df66d9fe8e9 (diff)
downloadnixpkgs-a28273df32b970e29872b29ad87b4131c68f9a06.tar
nixpkgs-a28273df32b970e29872b29ad87b4131c68f9a06.tar.gz
nixpkgs-a28273df32b970e29872b29ad87b4131c68f9a06.tar.bz2
nixpkgs-a28273df32b970e29872b29ad87b4131c68f9a06.tar.lz
nixpkgs-a28273df32b970e29872b29ad87b4131c68f9a06.tar.xz
nixpkgs-a28273df32b970e29872b29ad87b4131c68f9a06.tar.zst
nixpkgs-a28273df32b970e29872b29ad87b4131c68f9a06.zip
mopidy service: add default value for configuration (#17385)
Mopidy will start if the configuration is empty.

Fixes #17381.
Diffstat (limited to 'nixos/modules/services/audio/mopidy.nix')
-rw-r--r--nixos/modules/services/audio/mopidy.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/audio/mopidy.nix b/nixos/modules/services/audio/mopidy.nix
index 9981b065f28..029b14ab472 100644
--- a/nixos/modules/services/audio/mopidy.nix
+++ b/nixos/modules/services/audio/mopidy.nix
@@ -47,6 +47,7 @@ in {
       };
 
       configuration = mkOption {
+        default = "";
         type = types.lines;
         description = ''
           The configuration that Mopidy should use.