diff options
| -rw-r--r-- | nixos/default.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/nixos/default.nix b/nixos/default.nix index 69793bc..aac8986 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -17,11 +17,11 @@ in default = "nixos"; }; - timezone = mkOption { - type = lib.types.str; - description = "Local timezone"; - default = "America/New_York"; - }; + # timezone = mkOption { + # type = lib.types.str; + # description = "Fallback timezone if location cannot be determined"; + # default = "America/New_York"; + # }; username = mkOption { type = lib.types.str; @@ -49,7 +49,9 @@ in settings.experimental-features = [ "nix-command" "flakes" ]; }; - time.timeZone = cfg.timezone; + # time.timeZone = lib.mkDefault cfg.timezone; + services.automatic-timezoned.enable = true; + nixpkgs.config.allowUnfree = true; boot.kernelPackages = pkgs.linuxPackages_latest; |