summary refs log tree commit diff
path: root/nixos/modules/services/audio/ympd.nix
diff options
context:
space:
mode:
authorLangston Barrett <langston.barrett@gmail.com>2016-09-11 19:47:08 -0700
committerFranz Pletz <fpletz@fnordicwalking.de>2016-09-12 04:47:08 +0200
commit25a7ded89c7a996ac5b81735562f7c66c50cfd2e (patch)
treeb1d146f8e447d0114e357cf41a3bf7589f7126c2 /nixos/modules/services/audio/ympd.nix
parent7be55e7f717a22614ea93786b4d99a3706b9f2d6 (diff)
downloadnixlib-25a7ded89c7a996ac5b81735562f7c66c50cfd2e.tar
nixlib-25a7ded89c7a996ac5b81735562f7c66c50cfd2e.tar.gz
nixlib-25a7ded89c7a996ac5b81735562f7c66c50cfd2e.tar.bz2
nixlib-25a7ded89c7a996ac5b81735562f7c66c50cfd2e.tar.lz
nixlib-25a7ded89c7a996ac5b81735562f7c66c50cfd2e.tar.xz
nixlib-25a7ded89c7a996ac5b81735562f7c66c50cfd2e.tar.zst
nixlib-25a7ded89c7a996ac5b81735562f7c66c50cfd2e.zip
audio services: use mkEnableOption (#18524)
Diffstat (limited to 'nixos/modules/services/audio/ympd.nix')
-rw-r--r--nixos/modules/services/audio/ympd.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/nixos/modules/services/audio/ympd.nix b/nixos/modules/services/audio/ympd.nix
index fb8b868ed40a..d34c1c9d83cc 100644
--- a/nixos/modules/services/audio/ympd.nix
+++ b/nixos/modules/services/audio/ympd.nix
@@ -12,11 +12,7 @@ in {
 
     services.ympd = {
 
-      enable = mkOption {
-        type = types.bool;
-        default = false;
-        description = "Whether to enable ympd, the MPD Web GUI.";
-      };
+      enable = mkEnableOption "ympd, the MPD Web GUI";
 
       webPort = mkOption {
         type = types.string;