From 9d5bfbb3bc698ab2ae7e1d81669b9947d48ee6b9 Mon Sep 17 00:00:00 2001 From: KaitoTLex Date: Fri, 27 Dec 2024 20:52:26 +0800 Subject: [PATCH] no --- hosts/shiroko/configuration.nix | 4 +++- modules/core/default.nix | 12 +++++++++--- users/kaitotlex/home.nix | 2 ++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/hosts/shiroko/configuration.nix b/hosts/shiroko/configuration.nix index d04b7ef..1eb64ad 100644 --- a/hosts/shiroko/configuration.nix +++ b/hosts/shiroko/configuration.nix @@ -4,6 +4,7 @@ { config, pkgs, + lib, ... }: { @@ -113,7 +114,8 @@ }; # Set your time zone. - time.timeZone = "America/Los_Angeles"; + time.timeZone = "Asia/Taipei"; # lib.mkDefault + #services.automatic-timezoned.enable = true; # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; diff --git a/modules/core/default.nix b/modules/core/default.nix index 6613545..781977d 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -1,9 +1,14 @@ -{ pkgs, inputs, ... }: +{ + pkgs, + inputs, + options, + ... +}: { # Enable the X11 windowing system. # You can disable this if you're only using the Wayland session. services.xserver.enable = false; - + #services.ntp.enable = true; # Configure keymap in X11 services.xserver.xkb = { layout = "us"; @@ -25,7 +30,6 @@ max-free = ${toString (1024 * 1024 * 1024)} ''; }; - hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot @@ -58,6 +62,8 @@ environment.systemPackages = [ inputs.nixvim.packages.${pkgs.system}.default ]; + #services.automatic-timezoned.enable = true; + #networking.timeServers = options.networking.timeServers.default ++ [ "time-macos.apple.com" ]; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.kaitotlex = { diff --git a/users/kaitotlex/home.nix b/users/kaitotlex/home.nix index 91ffaa6..e1d4c7d 100644 --- a/users/kaitotlex/home.nix +++ b/users/kaitotlex/home.nix @@ -23,6 +23,8 @@ # here is some command line tools I use frequently # feel free to add your own or remove some of them #davinci-resolve + geoclue2 + lua tetrio-desktop #tetrio-plus prismlauncher