15 lines
328 B
Nix
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"; };
|
|
}
|