mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
No need to set the timezone in home-assistant manually
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
8ebc3a65ba
commit
52bdfd2bf1
|
@ -18,12 +18,6 @@ makeSystem {
|
||||||
type.services = {};
|
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 = {
|
init.services.home-assistant = {
|
||||||
shutdownOnExit = true;
|
shutdownOnExit = true;
|
||||||
environment.PATH = with pkgs; pkgs.lib.makeBinPath [
|
environment.PATH = with pkgs; pkgs.lib.makeBinPath [
|
||||||
|
|
Loading…
Reference in a new issue