diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2018-01-12 22:24:34 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2018-01-12 22:24:34 +0100 |
| commit | 5c31a2c3806a45c6ca8eeae90ea7f184537a42b6 (patch) | |
| tree | b148fa9f4305ccc109751e41e7983285b2627cc8 /modules/time | |
| parent | a326466ca75a881725fb7daf9b52a583d2b1c34e (diff) | |
time: skip activation if nothing is enabled
Diffstat (limited to 'modules/time')
| -rw-r--r-- | modules/time/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/time/default.nix b/modules/time/default.nix index 5f7a5f5..7cbe6bb 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 |
