diff options
| author | Michael Hoang <Enzime@users.noreply.github.com> | 2023-09-15 22:38:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-15 22:38:38 +0200 |
| commit | 80bb201f4925cdda5a7a3c7b1900fb26bb2af2e8 (patch) | |
| tree | a6da9a046a02bcc047ea985ddc68f78ecba312e3 | |
| parent | 4496ab26628c5f43d2a5c577a06683c753e32fe2 (diff) | |
| parent | c8f0bc5c295b3612c1ff5dc31e0571f15617aa63 (diff) | |
Merge pull request #781 from montchr/359-hide-upstream-timezone-error-output
time: bury confusing `systemsetup -settimezone` output
| -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 09b02a5..d3fa34d 100644 --- a/modules/time/default.nix +++ b/modules/time/default.nix @@ -11,7 +11,7 @@ let echo "${cfg.timeZone} is not a valid timezone. The command 'listtimezones' will show a list of valid time zones." >&2 false fi - systemsetup -settimezone "${cfg.timeZone}" > /dev/null + systemsetup -settimezone "${cfg.timeZone}" 2>/dev/null 1>&2 ''; in |
