This commit is contained in:
KaitoTLex 2025-01-05 15:37:29 +08:00
parent b5c9b5ca09
commit 2ee929cbd9
3 changed files with 38 additions and 22 deletions

40
flake.lock generated
View file

@ -223,11 +223,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1734043726, "lastModified": 1735774425,
"narHash": "sha256-e9YAMReFV1fDPcZLFC2pa4k/8TloSXeX0z2VysNMAoA=", "narHash": "sha256-C73gLFnEh8ZI0uDijUgCDWCd21T6I6tsaWgIBHcfAXg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "3066cc58f552421a2c5414e78407fa5603405b1e", "rev": "5f6aa268e419d053c3d5025da740e390b12ac936",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -244,11 +244,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733085484, "lastModified": 1735774425,
"narHash": "sha256-dVmNuUajnU18oHzBQWZm1BQtANCHaqNuxTHZQ+GN0r8=", "narHash": "sha256-C73gLFnEh8ZI0uDijUgCDWCd21T6I6tsaWgIBHcfAXg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "c1fee8d4a60b89cae12b288ba9dbc608ff298163", "rev": "5f6aa268e419d053c3d5025da740e390b12ac936",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -274,11 +274,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1733759999, "lastModified": 1735471104,
"narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=", "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56", "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -325,11 +325,11 @@
"plugins-typst-preview": "plugins-typst-preview" "plugins-typst-preview": "plugins-typst-preview"
}, },
"locked": { "locked": {
"lastModified": 1732647323, "lastModified": 1735888819,
"narHash": "sha256-kvGiJ3ANwrvxbQVNHPhnimOBxQXnAaUvL9yJKwkmgBs=", "narHash": "sha256-kvGiJ3ANwrvxbQVNHPhnimOBxQXnAaUvL9yJKwkmgBs=",
"owner": "kaitotlex", "owner": "kaitotlex",
"repo": "vix1", "repo": "vix1",
"rev": "ab175943cfd30f34dc74693203293c42b3dc9406", "rev": "401ae3ccd6ef8c65562e37013c3314cf79ad9641",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -405,11 +405,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1734063436, "lastModified": 1735877772,
"narHash": "sha256-wE1sIAnsjWbyXXjwC/+oxSFXFDCROiwLY1pSQ7pU9js=", "narHash": "sha256-6OT4xYCwZTJ9qK28NNM98ibFZinwrJK/sRlg+dDqdJs=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "spicetify-nix", "repo": "spicetify-nix",
"rev": "7981c1e87aa1adeec524524db52f75bf6598fb55", "rev": "0227d83d2eb29189b8ed8d180e2442ada633dd0d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -437,11 +437,11 @@
"tinted-tmux": "tinted-tmux" "tinted-tmux": "tinted-tmux"
}, },
"locked": { "locked": {
"lastModified": 1734012548, "lastModified": 1735864066,
"narHash": "sha256-72z7fZNeFtG+UWmbMn5by4K47HHBxk3JtV91D/qZEhg=", "narHash": "sha256-V1JmPXW3vmxCuvf+IItGlLgBH8rolUahCMFyglxy19s=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "ccee633284cde8a9f825004e00dd84a31b10e6c6", "rev": "0ce2a52decf36d815065f8cda06586ed59ed3ef7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -518,11 +518,11 @@
"wallpapers": { "wallpapers": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1734063676, "lastModified": 1734808343,
"narHash": "sha256-7sSuQzPeVJEC/UIgNjGIXSAciSwRnp+Uwa/cp9AV8TQ=", "narHash": "sha256-UiQiociS1AuVNJ5jJhc2N+nyIwhOpE5rq0AywZVmlc8=",
"owner": "kaitotlex", "owner": "kaitotlex",
"repo": "wallpaper", "repo": "wallpaper",
"rev": "062dde476c641c5234f6286615a61561b2b5c877", "rev": "3bdc71d6bcd517215a5aacaa5d0e8a7018371bf3",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -114,9 +114,25 @@
}; };
# Set your time zone. # Set your time zone.
time.timeZone = "Asia/Taipei"; # lib.mkDefault #time.timeZone = "Americas/"; # Asia/Taipei lib.mkDefault
#services.automatic-timezoned.enable = true; #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. # Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";

View file

@ -24,7 +24,7 @@
# feel free to add your own or remove some of them # feel free to add your own or remove some of them
#davinci-resolve #davinci-resolve
rasm rasm
arduino-language-server
geoclue2 geoclue2
lua lua
tetrio-desktop tetrio-desktop