modules/darwin/common: set timeZone
This commit is contained in:
parent
cb3197e1ad
commit
b74ef1be64
1 changed files with 1 additions and 6 deletions
|
@ -56,10 +56,5 @@
|
||||||
PasswordAuthentication no
|
PasswordAuthentication no
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# `time.timeZone` works but displays error message during activation
|
time.timeZone = "GMT";
|
||||||
# https://github.com/LnL7/nix-darwin/issues/359
|
|
||||||
# https://github.com/LnL7/nix-darwin/blob/16c07487ac9bc59f58b121d13160c67befa3342e/modules/time/default.nix#L14
|
|
||||||
system.activationScripts.postActivation.text = ''
|
|
||||||
systemsetup -settimezone "GMT" >/dev/null 2>&1
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue