From 12225fd44e09642fffe3e720a01b98b0c578aa5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Samuel=20Laur=C3=A9n?= <samuel.lauren@iki.fi>
Date: Wed, 7 Mar 2018 10:35:21 +0200
Subject: [PATCH] mkEnableOption

---
 services/coffeecam.nix | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/services/coffeecam.nix b/services/coffeecam.nix
index 04dddb5..53e26ee 100644
--- a/services/coffeecam.nix
+++ b/services/coffeecam.nix
@@ -6,11 +6,7 @@ let cfg = config.services.coffeecam;
 
 in {
   options.services.coffeecam = {
-    enable = mkOption {
-      description = "Enable coffeecam streaming service";
-      type = types.bool;
-      default = false;
-    };
+    enable = mkEnableOption "coffeecam";
 
     targetAddress = mkOption {
       description = "Stream target";
-- 
GitLab