diff --git a/flake.lock b/flake.lock index 3057fba..4367ecf 100644 --- a/flake.lock +++ b/flake.lock @@ -223,11 +223,11 @@ ] }, "locked": { - "lastModified": 1734043726, - "narHash": "sha256-e9YAMReFV1fDPcZLFC2pa4k/8TloSXeX0z2VysNMAoA=", + "lastModified": 1735774425, + "narHash": "sha256-C73gLFnEh8ZI0uDijUgCDWCd21T6I6tsaWgIBHcfAXg=", "owner": "nix-community", "repo": "home-manager", - "rev": "3066cc58f552421a2c5414e78407fa5603405b1e", + "rev": "5f6aa268e419d053c3d5025da740e390b12ac936", "type": "github" }, "original": { @@ -244,11 +244,11 @@ ] }, "locked": { - "lastModified": 1733085484, - "narHash": "sha256-dVmNuUajnU18oHzBQWZm1BQtANCHaqNuxTHZQ+GN0r8=", + "lastModified": 1735774425, + "narHash": "sha256-C73gLFnEh8ZI0uDijUgCDWCd21T6I6tsaWgIBHcfAXg=", "owner": "nix-community", "repo": "home-manager", - "rev": "c1fee8d4a60b89cae12b288ba9dbc608ff298163", + "rev": "5f6aa268e419d053c3d5025da740e390b12ac936", "type": "github" }, "original": { @@ -274,11 +274,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1733759999, - "narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=", + "lastModified": 1735471104, + "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56", + "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4", "type": "github" }, "original": { @@ -325,11 +325,11 @@ "plugins-typst-preview": "plugins-typst-preview" }, "locked": { - "lastModified": 1732647323, + "lastModified": 1735888819, "narHash": "sha256-kvGiJ3ANwrvxbQVNHPhnimOBxQXnAaUvL9yJKwkmgBs=", "owner": "kaitotlex", "repo": "vix1", - "rev": "ab175943cfd30f34dc74693203293c42b3dc9406", + "rev": "401ae3ccd6ef8c65562e37013c3314cf79ad9641", "type": "github" }, "original": { @@ -405,11 +405,11 @@ ] }, "locked": { - "lastModified": 1734063436, - "narHash": "sha256-wE1sIAnsjWbyXXjwC/+oxSFXFDCROiwLY1pSQ7pU9js=", + "lastModified": 1735877772, + "narHash": "sha256-6OT4xYCwZTJ9qK28NNM98ibFZinwrJK/sRlg+dDqdJs=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "7981c1e87aa1adeec524524db52f75bf6598fb55", + "rev": "0227d83d2eb29189b8ed8d180e2442ada633dd0d", "type": "github" }, "original": { @@ -437,11 +437,11 @@ "tinted-tmux": "tinted-tmux" }, "locked": { - "lastModified": 1734012548, - "narHash": "sha256-72z7fZNeFtG+UWmbMn5by4K47HHBxk3JtV91D/qZEhg=", + "lastModified": 1735864066, + "narHash": "sha256-V1JmPXW3vmxCuvf+IItGlLgBH8rolUahCMFyglxy19s=", "owner": "danth", "repo": "stylix", - "rev": "ccee633284cde8a9f825004e00dd84a31b10e6c6", + "rev": "0ce2a52decf36d815065f8cda06586ed59ed3ef7", "type": "github" }, "original": { @@ -518,11 +518,11 @@ "wallpapers": { "flake": false, "locked": { - "lastModified": 1734063676, - "narHash": "sha256-7sSuQzPeVJEC/UIgNjGIXSAciSwRnp+Uwa/cp9AV8TQ=", + "lastModified": 1734808343, + "narHash": "sha256-UiQiociS1AuVNJ5jJhc2N+nyIwhOpE5rq0AywZVmlc8=", "owner": "kaitotlex", "repo": "wallpaper", - "rev": "062dde476c641c5234f6286615a61561b2b5c877", + "rev": "3bdc71d6bcd517215a5aacaa5d0e8a7018371bf3", "type": "github" }, "original": { diff --git a/hosts/shiroko/configuration.nix b/hosts/shiroko/configuration.nix index 1eb64ad..e71243c 100644 --- a/hosts/shiroko/configuration.nix +++ b/hosts/shiroko/configuration.nix @@ -114,9 +114,25 @@ }; # Set your time zone. - time.timeZone = "Asia/Taipei"; # lib.mkDefault + #time.timeZone = "Americas/"; # Asia/Taipei lib.mkDefault #services.automatic-timezoned.enable = true; + time.timeZone = lib.mkForce null; + services.timesyncd.enable = true; + systemd.services = { + # Ensure network uplink on boot + NetworkManager-wait-online.enable = true; + # Automatic time zone switching + updateTimezone = { + description = "Automatically update timezone using `timedatectl` and `tzupdate`"; + wantedBy = [ "multi-user.target" ]; + after = [ "network-online.target" ]; + requires = [ "network-online.target" ]; + script = '' + timedatectl set-timezone $("${pkgs.tzupdate}/bin/tzupdate" -p) + ''; + }; + }; # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; diff --git a/users/kaitotlex/home.nix b/users/kaitotlex/home.nix index 5ea2764..cc0a680 100644 --- a/users/kaitotlex/home.nix +++ b/users/kaitotlex/home.nix @@ -24,7 +24,7 @@ # feel free to add your own or remove some of them #davinci-resolve rasm - + arduino-language-server geoclue2 lua tetrio-desktop