Setting the Linux clock to local instead of UTC is a common workaround for dual booting systems with windows. The alternative, configuring windows to use UTC, is not very well supported, and many applications that simply assume the system clock is local will just not work.
See this link for a blog post outlining this.
Given that...
โฏ timedatectl set-local-rtc 1 --adjust-system-clock
Failed to set local RTC: Changing system settings via systemd is not supported on NixOS.
... and there is no NixOS option for this, what would the best approach be?
"x86_64-linux"Linux 4.18.8, NixOS, 19.03.git.4f32521 (Koi)yesnonix-env (Nix) 2.1.1"nixos-19.03pre152634.218ce4de508"""/nix/var/nix/profiles/per-user/root/channels/nixosI'd put time.hardwareClockInLocalTime = true; into your configuration.nix.
Heh, I saw the module for it, saw that hardwareClockInLocalTime wasn't used anywhere, rgd the nixpkgs tree, didn't see anything super evident, and I guess I was wrong. Thanks!
Most helpful comment
I'd put
time.hardwareClockInLocalTime = true;into yourconfiguration.nix.