nixcfg/modules/nixos/system/time/default.nix
2024-01-11 10:31:04 +00:00

15 lines
328 B
Nix

{ options, config, pkgs, lib, ... }:
with lib;
with lib.plusultra;
let cfg = config.plusultra.system.time;
in
{
options.plusultra.system.time = with types; {
enable =
mkBoolOpt false "Whether or not to configure timezone information.";
};
config = mkIf cfg.enable { time.timeZone = "America/Los_Angeles"; };
}