From 5c31a2c3806a45c6ca8eeae90ea7f184537a42b6 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Fri, 12 Jan 2018 22:24:34 +0100 Subject: [PATCH] time: skip activation if nothing is enabled --- modules/time/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/time/default.nix b/modules/time/default.nix index 5f7a5f56..7cbe6bb0 100644 --- a/modules/time/default.nix +++ b/modules/time/default.nix @@ -35,7 +35,7 @@ in config = { - system.activationScripts.time.text = '' + system.activationScripts.time.text = mkIf (cfg.timeZone != null) '' # Set defaults echo "configuring time..." >&2