From afe67f28a31484b4a33e8a2f9126ebc19d8a1809 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Wed, 26 Oct 2016 01:30:21 +0200 Subject: [PATCH] cjdns service: use cfg.enable shortcut --- nixos/modules/services/networking/cjdns.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/cjdns.nix b/nixos/modules/services/networking/cjdns.nix index 6c0e77c081f5..8fad0cd07de1 100644 --- a/nixos/modules/services/networking/cjdns.nix +++ b/nixos/modules/services/networking/cjdns.nix @@ -201,7 +201,7 @@ in }; - config = mkIf config.services.cjdns.enable { + config = mkIf cfg.enable { boot.kernelModules = [ "tun" ];