18 lines
301 B
Nix
18 lines
301 B
Nix
{
|
|
options,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
with lib.frajul; let
|
|
cfg = config.system.time;
|
|
in {
|
|
options.system.time = with types; {
|
|
enable =
|
|
mkBoolOpt false "Whether or not to configure timezone information.";
|
|
};
|
|
|
|
config = mkIf cfg.enable {time.timeZone = "America/Denver";};
|
|
}
|