mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-30 02:23:08 +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; };
|
|
}
|