No need to set the timezone in home-assistant manually

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2023-11-18 13:45:37 +01:00
parent 8ebc3a65ba
commit 52bdfd2bf1
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -18,12 +18,6 @@ makeSystem {
type.services = {};
};
system.activation."tzdata" = nglib.dag.dagEntryAnywhere ''
mkdir -m 0755 -p /etc/ssl/certs
ln -s ${pkgs.tzdata}/share/zoneinfo /etc/zoneinfo
ln -s /etc/zoneinfo/Europe/Amsterdam /etc/localtime
'';
init.services.home-assistant = {
shutdownOnExit = true;
environment.PATH = with pkgs; pkgs.lib.makeBinPath [