diff --git a/mkrootfs.sh b/mkrootfs.sh index 3bd8846..f12d9a7 100644 --- a/mkrootfs.sh +++ b/mkrootfs.sh @@ -18,6 +18,7 @@ echo install_weak_deps=False >> "${destdir}"/etc/dnf/dnf.conf dnf --installroot "${destdir}" install -y \ bcm2711-firmware \ + curl \ dhcp-client \ dracut-network \ firefox \ diff --git a/overlay/home/user/.xinitrc b/overlay/home/user/.xinitrc index 0cb7eda..c944550 100644 --- a/overlay/home/user/.xinitrc +++ b/overlay/home/user/.xinitrc @@ -2,6 +2,10 @@ xset s off xset -dpms -systemctl --user import-environment DISPLAY + +TZ="$(curl https://ipapi.co/timezone)" +export TZ + +systemctl --user import-environment DISPLAY TZ systemctl --user start firefox-marionette.socket firefox exec openbox