nix-config/overhaul/modules/common/locale.nix
2025-02-10 22:16:14 +01:00

21 lines
346 B
Nix

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