Live data from Hacker News

NixOS on Framework Laptop

kvark.github.io

91–100 of 250 posts

Re: NixOS on Framework Laptop

#91
I hope they have success creating an open-source community around the hardware, the other comparable ecosystems like Purism or Pinebook have a very specific public with much less "consumer-friendly" hardware that will never even offer a Windows version. It would be really cool to see people with Windows Framework easily finding a tutorial to migrate to Arch linux (in contrast to searching for a specific driver of the XPS model xyz).

PS: waiting for shipment to Brazil (and maybe a 15'' model)

Re: NixOS on Framework Laptop

#92
post #63

Earlier quoted context omitted.

Just take the time to learn systemd. Once you do, like nix, it saves so much time

Good parts of SystemD are good, bad parts are bad. SystemD is easy to use when it fits your needs, but pain to use otherwise. For example, `systemd-analyze` is a good tool for boot performance analysis, so + for systemd, but if I want/need to use perf for boot performance analysis, then systemd stands in my way, while for initd it's just yet another boot mode.

What's the limitation stopping you from using perf in the same way as you would before? I've never had the need to try to do that.

Re: NixOS on Framework Laptop

#93
post #43

Earlier quoted context omitted.

Just take the time to learn systemd. Once you do, like nix, it saves so much time

systemd is so complex, I've come to a conclusion, that it no longer fits my definition of free software. We allow runaway complexity to obscure the inner workings of an important software package, to the point, where having source access no longer makes a practical difference to a "casual" power-user or even a software engineer. I can source-dive runit, s6, OpenBSD's rc, or OpenRC and within a weekend, have a pretty…

That's an interesting line to draw! Do you think this also extends to stuff like firefox or java vm, or are you only focusing on "system" software with that analysis?

Re: NixOS on Framework Laptop

#94

For all framework laptop owners, I'm considering to buy this for myself this christmas. My previous laptop I owned are mostly MBP, laptop from work is mbp, and my own gaming PC. 1 of the reason why I like MBP is the sturdiness and build quality, but i'm ready to go on diy stuff and leave apple for my next laptop. I was watching Dave2D video but when I saw the spring of the hinge when opening the laptop and the flex o…

The build quality is excellent. It isn't quite as good as a MacBook, but I'm willing to take the hit from A+ to A- for the repairablity.

It's much better than any other laptop I've used aside from a MacBook Pro. The screen does flex a bit but unless you're actively applying torque to it, you won't notice. It's totally fine when opening and closing it.

Re: NixOS on Framework Laptop

#95
post #32

Earlier quoted context omitted.

What would you prefer to have in Nix instead of systemd?

I would prefer OpenRC, runit or something similar.

Those would probably be not so great matches for NixOS because they don't support the container stuff that systemd does, you would be throwing all that out.

Re: NixOS on Framework Laptop

#96

> I only wish the up/down arrow buttons were normal size, like on Thinkpads. Funny, I much prefer a full-size Right-Shift key, which usually requires compact up/down arrow keys. I hate typing on keyboards with tiny, stunted little right-shift keys. I use Right-Shift much more than the arrow keys.

I don’t remember the last time I used the right shift key! I must use it sometimes, I just can’t think when

Re: NixOS on Framework Laptop

#97
post #77
post #32

Earlier quoted context omitted.

What would you prefer to have in Nix instead of systemd?

I've been running Upstart (well, a fork I maintain) for over 2 years on my laptops and SBC. I'd like to use that. TBH I think NixOS might make it easier than other distros to run a custom init. I just haven't gotten around to importing my configs into a nix derivation.

If you have a parser for systemd unit files then you might have a chance to get that to work.

If the whole reason you're doing it is to migrate back to upstart's syntax then it seems that would be not so useful, you might as well go in the other direction: write an upstart generator for systemd, and then you can just plug that into ordinary NixOS.

Edit: Actually I think at some point NixOS did support upstart? Not sure whatever happened to that.

Re: NixOS on Framework Laptop

#98

As a framework owner, this is nice to see. I have yet to take the plunge on Nix (been happy with PopOS on mine), and wouldn't without Bluetooth support, but it's good to know it's possible and relatively painless. I'm hoping to start with nix+home-manager at some point, maybe on top of PopOS; anyone have experience with that setup?

Somewhat random question: What kind of run time do you get out of a battery charge with PopOS on the framework laptop? I've seen some comments from people who were unhappy with theirs, but maybe PopOS has some better tuning?

Re: NixOS on Framework Laptop

#99
post #52
post #9

Earlier quoted context omitted.

Yeah the trick would be thunderbolt more than anything, USB-C out to all four ports would be easy enough with a hub?

yeah, it just feels rude to bifurcate the ecosystem and confuse everyone about the amount of i/o available

I think you could do it in such a way that you only restrict the ports available for alternate mode display output, and everything else still works.

I don't think it's rude. It's about choice, just make sure it's clear to the users what sort of peripherals they should expect to work.

That said I think it would be almost more fun to put the arm computer into the USB C module.

Re: NixOS on Framework Laptop

#100
post #54
post #41

Earlier quoted context omitted.

Newer Intel CPUs don't support S3 anymore. They now use something called S0ix which is apparently much more power hungry.

Removing the main and most important feature on a laptop is surely a good-move. What about AMD?

> What about AMD?

Good news, suspend resume has been broken on my AMD ThinkPad, at least for me, since kernel version 5.10 came out although it didn't really work reliably before either.

Whenever, I dare enter systemctl suspend, my screen goes blank, fans start spinning at the highest speed. A hard reboot is needed at that point. The journal is filled with these error messages.

[drm:amdgpu_ib_ring_tests [amdgpu]] ERROR IB test failed on gfx (-22)

EDIT: Looks the author of the blog post isn't able to do suspend resume on his AMD ThinkPad T495 either, which is good news.

Post reply on HN