mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-23 07:03:07 +01:00
18 lines
272 B
Nix
18 lines
272 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
let
|
|
cfg = config.local.hardware-clock;
|
|
in
|
|
{
|
|
options.local.hardware-clock = {
|
|
enable = mkEnableOption "Change Hardware Clock To Local Time";
|
|
};
|
|
|
|
config = mkIf cfg.enable { time.hardwareClockInLocalTime = true; };
|
|
}
|