Live data from Hacker News

NixOS on Framework Laptop

kvark.github.io

131–140 of 250 posts

Re: NixOS on Framework Laptop

#131

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.

True, I love repairability, but then I also love A+ build quality and because I can't try it out, i'm not sure if i will regret it when I got mine later.

Looking at Dave's video, the only thing that's holding me back was when he try to flex the screen :(

Honestly the build quality of MBP is so good that it's holding me back from changing into something else. Hopefully V2 of framework will come with the sturdiness, no brainer for sure

Re: NixOS on Framework Laptop

#132

Earlier quoted context omitted.

How do you deal with the transitiob from MacOS to PopOs? I'm trying to do it, but discouraged from all the small annoying things: - changing default shortcuts from CMD to CTRL. Is swapping the positions enough? - Janky scrolling/no inertia ( i'm not on a framework (hp x360 spectre), is the framework better? - all the small tuning software i have (Karabiner for remapping, Amethyst for tiling, BitBar etc) - is there a…

Check out kinto.sh for the ctrl/cmd remapping. PopOS has a decent tiling manager built in now. (Icon in top right corner by default) though I should note it isn’t as “hardcore” as classic tiling managers and is instead built primarily for approachability over pure power. Not exactly sure what you mean but quick look. If you mean spotlight, PopOS has a (imo better) equivalent bound by default to the Super key. If you…

Great, thanks for the pointers!

Quick Look in this case is the quick open of files through finder by tapping 'Space'. Might be some equivalents, i'll look around.

Re: NixOS on Framework Laptop

#133
So, randomly I come across this right after I setup my Framework laptop for Arch. Funny thing is, I also transitioned from a 1st gen X1 Extreme.

Cool to see you getting NixOS running, Arch on the Framework has worked flawlessly. So much nicer than the X1.

Re: NixOS on Framework Laptop

#134
post #129

Earlier quoted context omitted.

Some people don't care. Some people want their boot ordering software and container runtime software to live in different code bases.

With cgroupsv2 there seems to be very little benefit to doing that since the container runtime needs to sit at the top of the process tree anyway, so I'm not sure I understand what the purpose of that would be or why you would want that. If you were using containers to run services then I can't really think of a situation where you wouldn't also want it as part of the boot ordering process, so your services will just…

That is not true at all about cgroup2. Also think outside the box. Not everyone is using cgroups and namespaces. Some people are out there using gvisor, or KVM, or FreeBSD jails.

Re: NixOS on Framework Laptop

#135
post #129

Earlier quoted context omitted.

With cgroupsv2 there seems to be very little benefit to doing that since the container runtime needs to sit at the top of the process tree anyway, so I'm not sure I understand what the purpose of that would be or why you would want that. If you were using containers to run services then I can't really think of a situation where you wouldn't also want it as part of the boot ordering process, so your services will just…

That is not true at all about cgroup2. Also think outside the box. Not everyone is using cgroups and namespaces. Some people are out there using gvisor, or KVM, or FreeBSD jails.

I'm not sure what you mean it's not true, AFAIK that constraint was the main issue with getting Docker moved over to cgroupsv2. (Edit: some background here https://github.com/opencontainers/runc/pull/2113) It's fixed now though so everything should work fine with systemd. If you aren't using cgroups and namespaces then you probably don't get much benefit from running a system like NixOS on bare metal either, so I'm having trouble figuring out what your use case would be. Any other immutable Linux setup will do, it might even be less hassle.

Those other things you mention are confusing to me, gvisor and KVM are mostly orthogonal to container management. And FreeBSD jails don't work on Linux.

Re: NixOS on Framework Laptop

#136
post #65
post #2

Nice. Framework is super exciting, but I hope they release more cad files for the laptop so third parties can make e.g. keyboards and motherboards. Would be a bummer if their business model is lock-in on everything but the expansion cards. I’d love to put an underpowered qcom or nxp arm64 chip in and get insane battery life, but that doesn’t seem likely for a while since it needs 4x usb4 :/. Even the Xavier nx SoM on…

We started with Expansion Cards because they are they simplest both for us to release a documentation package around and for a third party to develop. We will be expanding out from there though.

Do you plan to launch in India anytime soon? Would love to get my hands on a Framework laptop

Re: NixOS on Framework Laptop

#137
post #117
post #104

Earlier quoted context omitted.

Huh. I had the opposite. I never wonder what’s on my PC. If I can’t even remember the program exists I clearly don’t need it.

> I never wonder what’s on my PC Then clearly this article is not meant for you? Or maybe this forum altogether?

Responding to the strongest interpretation of the parent I would agree with them.

I know what programs I have installed, and where to find them. I don't wonder about that.

I do wonder about lots of other things, but they're not really relevant to my DE.

Re: NixOS on Framework Laptop

#138
post #13

Framework + NixOS is the most exciting hardware + OS going IMHO. If someone wants to do a crowdfunding or devpay or similar to make them work out of the box together, I will gladly donate or pay.

Can you do NixOS without systemd? If not, I'd look elsewhere for the distro. Maybe Guix?

I haven't bothered to have a beef with systemd, but some of us have discussed https://github.com/InitWare/InitWare to support non-Linux kernels. That would be really fun.

Re: NixOS on Framework Laptop

#139
A few days ago I received my DIY Framework laptop as well. I also have a MBP 15" circa 2018. The keyboard issues on the MBP was my primary gripe with Apple, also reading the 55 steps needed to replace the battery according to ifixit guide.

I first discovered frame.work on hacker news, watched a ton of youtube videos and got all jazed up and bought one, then waited for it to ship (about a month since they do it in batches). I actually never had been this excited about a product as this, and would read up on their site daily, to prepare.

Anyway, it arrived, and I assembled my first laptop! The hardest part was hooking up the wifi, but with a little thinking it worked. Took about 10 mintues, with kids running around the background.

Having a month to ponder all of the flavors of linux, I was initially jazed about NixOS as well. I'm not a daily linux user and reading through the documentation was discouraging. There doesn't seem to be a simple way to install it that I have discovered. Eventually I discovered Fedora Silverblue which has the same concept of an immutable OS. I still want to try NixOS, but I will need help with that. Another nice thing about these devices, you are free to install whatever you want on them, unlike Apple which locks it down. The Fedora Silverblue installation was about 4 minutes, minimal decisions to make. So that is what I ended up with.

At first I tried version 34. This did not work immediately with the WiFi, and that had me concerned (what if I didn't hook it up right?). LOL.

So, I tried the RAWHIDE release (which will be version 35). Mostly I did this to see if the wifi worked and it did! After playing around with it, I started getting used to it. It works with wifi, the fingerprint reader (great), bluetooth, trackpad (see comments below).

Build Quality. The Framework build quality is excellent. It's much lighter than the MBP, and I think the reason for feeling a bit more 'flexible' ie bendable is the lack of glue. I think the glue also helps the accoustics. The speakers are definately a disapointment compared to the MBP. That said, I would trade ability to swap out battery for feeling more solid. Maybe this can be improved, but to me it's not a huge issue.

Trackpad. I am not entirely used to linux, so at first I didn't know what was a hardware or what was a software issue. The two finger scrolling works, as does three finger navigation, but scrolling on the browser sucks. Two issues, acceleration is a little wonky (no rubber band feel), and scrollbars are always visible. The claim is that wayland does not have some universal scrolling system but relies on each application to implement it. Firefox, chrome, Ungoogled Chromium all seem to act the same. Some of this might be Fedora 35 which is still being developed. That being said, I've tried recent windows machines this experience is better than that. I think the MBP does have a smoother experience here, but this is usuable for sure.

I am now starting to get used to the linux experience (gnome). I like the screen, wish it was a bit bigger, but certainly usuable.

I have yet to get a second or third monitor working on here.

Re: NixOS on Framework Laptop

#140
post #101

Earlier quoted context omitted.

Have you actually tried to dive into the part you're interested in? Where did you find the complexity? I've done it a few times for different components and found them pretty well separated and the source pretty straightforward. I have other issues with them, but complexity/obscurity of the is was not one of them.

Looking at using systemd to just run a binary automatically on boot (which some smart person on HN told me was the easiest way). Just looking at the systemd landing page overwhelms me. Boot Loader Interface, Discoverable Partitions Specification, etc. I’m sure the implementation details are very interesting. But where is the “Configure and Start a Service” option? Which is arguably the most important.

Their frontpage sucks, but that's not related to the code really :)

For a quick intro to new services, see the examples here: https://www.freedesktop.org/software/systemd/man/systemd.ser... (they should cover most basic needs) then read above for the details on the parameters. You stick the file in /etc/systemd/system/your_thing.service and enable/start it.

Post reply on HN