Better HN
topnewbestaskshowjobs
Log inSign up

cole-h

15 karma · joined Jan 26, 2020 (6y ago) · 8 submissions

Submissions

comment 1y ago · link · parent

It is very degraded in my experience: actions that would take 5-10 minutes to run are now taking 20-30 (and spinning for a long time before even showing any logs, until at some point the action logs are made visible).

ETA: and also they sometimes randomly fail with no logs at all.

comment 3y ago · link · parent

Exactly as Macha said, if you name the attribute `nixosConfiguration.<hostname>`, `nixos-rebuild` will look for that attribute implicitly; you can still specify another configuration if you're e.g. in a VM or a live image.

comment 3y ago · link · parent

The most obvious example is that using the installer in the quick start enables the flakes and nix-command features automatically, even though they are still considered experimental by upstream.

comment 3y ago · link · parent

That sounds like a nice little workflow; I might have to incorporate something like that with `nvd`...

Though, it should be said that `import /home/wherever` might not work if you switch to / use flakes, as that is likely outside of the flake's git repo (and thus impure).

comment 3y ago · link · parent

I don't; my config lives in ~/flake, and I run `nixos-rebuild ... --flake ~/flake` whenever I update it.

comment 3y ago · link · parent

I'd also suggest that, once you _do_ feel comfortable enough to step foot into NixOS territory, that you start off by version-controlling your configuration. It doesn't necessarily have to be public, but I've found it very helpful in the past when I've had to debug various issues due to misconfiguration by me.

comment 6y ago · link · parent

Really? I searched for `filename:home.nix` (which brought me to https://github.com/search?utf8=%E2%9C%93&q=filename%3Ahome.n...). That seems site-wide to me, unless I'm misunderstanding you.

comment 6y ago · link · parent

I don't see any Rust source code on its GitHub: https://github.com/lobsters/lobsters.