From 73ca36e7638d1a4c17b9da0b23b4f65369a49275 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 Jan 2025 18:50:24 +0900 Subject: [PATCH 1/3] timezone to take automatically based on IP location --- CHANGELOG.md | 3 +++ README.md | 3 +++ hosts/default/config.nix | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4a34ef5..f5dfc997 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## Changelogs +## 23 Jan 2025 +- set the timezone to take automatically based on IP location + ## 12 Jan 2025 - switch to final version of aylurs-gtk-shell-v1 - default oh-my-zsh theme was changed to `funky` diff --git a/README.md b/README.md index a9f9d75d..e08d9609 100644 --- a/README.md +++ b/README.md @@ -190,6 +190,9 @@ Hope you enjoy! 🎉 > [!TIP] > KooL's Dots v2.3.7 has a searchable keybind function via rofi. (SUPER SHIFT K) or right click the `HINTS` waybar button +#### ⌚ Setting timezone +- by default, timezone is depending on your location using internet. +- To set your timezone manually, edit `host//config.nix` #### 🫥 Improving performance for Older Nvidia Cards using driver 470 - [`SEE HERE`](https://github.com/JaKooLit/Hyprland-Dots/discussions/123#discussion-6035205) diff --git a/hosts/default/config.nix b/hosts/default/config.nix index f7f497ac..eea2660e 100644 --- a/hosts/default/config.nix +++ b/hosts/default/config.nix @@ -118,7 +118,10 @@ networking.timeServers = options.networking.timeServers.default ++ [ "pool.ntp.org" ]; # Set your time zone. - time.timeZone = "Asia/Seoul"; + services.automatic-timezoned.enable = true; #based on IP location + + #https://en.wikipedia.org/wiki/List_of_tz_database_time_zones + #time.timeZone = "Asia/Seoul"; # Set local timezone # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; From c667cf304424de5c53f6d4e2d7d89f62f7dcd368 Mon Sep 17 00:00:00 2001 From: Donald Williams <129223418+dwilliam62@users.noreply.github.com> Date: Sat, 25 Jan 2025 13:37:38 -0500 Subject: [PATCH 2/3] Update config.nix Boot loader timeout changed to 10 sec The default timeout of 1 second for the boot loader menu is too short. Easy to miss it before booting starts. --- hosts/default/config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/default/config.nix b/hosts/default/config.nix index eea2660e..d0ec2b6f 100644 --- a/hosts/default/config.nix +++ b/hosts/default/config.nix @@ -57,7 +57,7 @@ canTouchEfiVariables = true; }; - loader.timeout = 1; + loader.timeout = 10; # Bootloader GRUB #loader.grub = { From 15b8d5f6be4b301915f9a22f375c18bca0c4d640 Mon Sep 17 00:00:00 2001 From: Donald Williams <129223418+dwilliam62@users.noreply.github.com> Date: Sat, 25 Jan 2025 17:46:55 -0500 Subject: [PATCH 3/3] Update config.nix - Change timeout to 5 sec Changed to 5 seconds per JAK's request. I don't think 10 sec is that long, but OK. :) --- hosts/default/config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/default/config.nix b/hosts/default/config.nix index d0ec2b6f..31dbc13c 100644 --- a/hosts/default/config.nix +++ b/hosts/default/config.nix @@ -57,7 +57,7 @@ canTouchEfiVariables = true; }; - loader.timeout = 10; + loader.timeout = 5; # Bootloader GRUB #loader.grub = {