lately i have been setting up home-manager stuff on my Fedora install as a sort-of half-way to consider slowly migrating to NixOS via [1], a barely-functioning home.nix generator which can work across my org-roam KB the same way my ansible automation does but "better".

But now, the applications inside of home-manager think my timezone is 0-offset, and i have no idea why. Emacs current-time-zone reports (0 "America), date unhappy, etc; Do I just need to "bite the bullet" and convert more of my system or is there some configuration trick I've missed? NixOS has time.timeZone but not home-manager ...


· · Web · 2 · 0 · 0

I have as well been working on implementing a NixOS "justdoit" script which creates a file which when executed reboots a computer in to a partitioning script and then in to a barebones nixos distribution, which could then be further bootstrapped in to a working system with the rest of my automation -- or the full working system could be embedded in the installer image.

I nearly have it booting in Gnome BOXES after a criminally upsetting time trying various combinations of {fedora packages, flatpak, home-manager}/{gnome boxes, virt-manager, qemu_system_x86-64,virsh}/{fedora,ubuntu,nixos-installer} and dealing with all sorts of absurd issues to get the thing to actually kexec, which was very frustrating. now i'm just stuck with a GNOME Box which doesn't get past the initial BIOS.

i'm glad i wasn't trying to do any of this stuff live on a dev stream, it would have been boring and unflattering.

@rrix I’ve used home-manager on Mac and Ubuntu (and NixOS) and haven’t seen that. Is something messing with TZ?

@treed I don't think so; TZ comes through and reports America/Los_Angeles. My current idle theory is if Emacs is not finding the tzdata files or something

@rrix Hmm. Is there an env var that determines the path for finding tzdata? I'm not sure how that's usually found.(current-time-zone) returns (-25200 "PDT") for me on Mac with home-manager installed emacs

@treed tomorrow i'm gonna try posting on the nixos discourse, I think; the IRC room is kind of a lost cause, I tried asking twice in there today and got lost in botspam scrollback

@rrix Good option, yeah. There's also a Matrix channel, which tends to have actual humans.

@treed oh oh, i'll definitely give that a shot, or at least start idling there

Sign in to participate in the conversation

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!