diff --git a/modules/core/system.nix b/modules/core/system.nix index 4630389..64c14e3 100644 --- a/modules/core/system.nix +++ b/modules/core/system.nix @@ -1,6 +1,12 @@ { + config, + lib, ... }: +with lib; +let + cfg = config.system; +in { nix = { settings = { @@ -10,5 +16,8 @@ ]; }; }; + + time.timeZone = cfg.timeZone; + system.stateVersion = "25.05"; } \ No newline at end of file diff --git a/modules/options/default.nix b/modules/options/default.nix index dd4a8b3..838fa35 100644 --- a/modules/options/default.nix +++ b/modules/options/default.nix @@ -7,6 +7,7 @@ ./hyprland.nix ./plasma.nix ./shell.nix + ./system.nix ./zsh.nix ]; } \ No newline at end of file diff --git a/modules/options/system.nix b/modules/options/system.nix new file mode 100644 index 0000000..3858ed7 --- /dev/null +++ b/modules/options/system.nix @@ -0,0 +1,17 @@ +{ + config, + lib, + ... +}: +with lib; +let + cfg = config.system; +in +{ + options.system = { + timeZone = mkOption { + type = types.str; + default = "US/Eastern"; + }; + }; +} \ No newline at end of file