nix-config/modules/base/locale.nix
2025-02-28 00:04:49 +01:00

21 lines
336 B
Nix

{
inputs,
outputs,
lib,
config,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
cfg = config.horseman.base.locale;
in {
options = {
horseman.base.locale = {
enable = mkEnableOption "Locale settings";
};
};
config = mkIf cfg.enable {
time.timeZone = "Europe/Amsterdam";
};
}