diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-04-22 18:56:19 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-04-22 18:56:19 +0200 |
commit | 945849b86fe33474da569b307d7e5880877491b6 (patch) | |
tree | eb70d0144ee7bc064ecba6137b715c53b392859a /modules/services/monitoring | |
parent | fa0f5bf72f5c0cb0946fa0dbb8de9ee0768f654a (diff) | |
download | nixlib-945849b86fe33474da569b307d7e5880877491b6.tar nixlib-945849b86fe33474da569b307d7e5880877491b6.tar.gz nixlib-945849b86fe33474da569b307d7e5880877491b6.tar.bz2 nixlib-945849b86fe33474da569b307d7e5880877491b6.tar.lz nixlib-945849b86fe33474da569b307d7e5880877491b6.tar.xz nixlib-945849b86fe33474da569b307d7e5880877491b6.tar.zst nixlib-945849b86fe33474da569b307d7e5880877491b6.zip |
Don't set $TZ
We don't need to set $TZ, because we have /etc/localtime. In fact, setting $TZ without $TZDIR doesn't work anymore since Glibc no longer contains zone info.
Diffstat (limited to 'modules/services/monitoring')
-rw-r--r-- | modules/services/monitoring/smartd.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/services/monitoring/smartd.nix b/modules/services/monitoring/smartd.nix index 3f065666ea29..de07dc0dbaa6 100644 --- a/modules/services/monitoring/smartd.nix +++ b/modules/services/monitoring/smartd.nix @@ -107,8 +107,6 @@ in systemd.services.smartd = { description = "S.M.A.R.T. Daemon"; - environment.TZ = config.time.timeZone; - wantedBy = [ "multi-user.target" ]; serviceConfig.ExecStart = "${pkgs.smartmontools}/sbin/smartd --no-fork ${smartdFlags}"; |