Live data from Hacker News

NixOS on Framework Laptop

kvark.github.io

211–220 of 250 posts

Re: NixOS on Framework Laptop

#211

Earlier quoted context omitted.

Yep, Framework (as far as I remember) intends to even create a public marketplace for people to sell custom-made addon cards. They have the dimensions on their github and make it pretty easy.

Hopefully not exclusively on their marketplace?

Uh oh.

Re: NixOS on Framework Laptop

#212
post #103

Earlier quoted context omitted.

The symlinking is one of the things systemd actually gets right on traditional distros. The files in /usr/lib are immutable data files shipped by the packages that you're not supposed to edit. The symlinks to them in /etc are configuration that you can change.

I get the rationale. it just makes for one more layer of indirection that you have to overcome when trying to figure out what the configuration actually looks like.

Why would you do this manually? You also have to remember to check multiple configuration paths (e.g. override units), all of which can have an additional `.d` include directory. This is the price you pay for the flexibility systemd provides (and I argue it's much better than random System V-style shell scripts that can include anything at all, maybe even some remote scripts piped from curl to sh if developers was mad enough).

Just use `systemctl cat`, it prints the whole effective configuration.

Re: NixOS on Framework Laptop

#213

Earlier quoted context omitted.

Just accept that others have a different opinion to you. No need to come up with some conspiracy about why we're not a homogenous blob.

I believe my point is precisely that we aren't homogeneous and that perhaps your perspective isn't quite as ubiquitous as you think.

Are you sure that's your point? It's a bit strange how you "believe" that it is your point. Surely you should know it for sure?

Re: NixOS on Framework Laptop

#214
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.

I'm not sure why this comment was downvoted. I've read all the systemd documentation and this comment is spot on. System is lacking good documentation along the lines of "the least you need to know to setup and manage a service".

No, it's not as easy as "man systemd.service".

What's probably most useful in that documentation is the "hello world" example, which is buried at the bottom of the documentation. Also, key details are elsewhere, in "man systemd.exec" and "man systemd.unit".

The systemd docs a great comprehensive reference, but the man pages are poor introductory documentation.

Some useful tips that are hard to find:

  * man systemd.directives documents every directory and will tell you which man page as the full documentation for it.
  * man systemd.index lists every man page related to systemd.

Re: NixOS on Framework Laptop

#215

Earlier quoted context omitted.

You're definitely in the minority, macbook trackpads are widely accepted as the best ones currently out there. Some good discussion on this: https://news.ycombinator.com/item?id=19485178

Widely accepted by who? Mac users? It's nothing more than what you're used to.

Every, and I mean every, review I have watched has rated the trackpad as the best in the business.

Re: NixOS on Framework Laptop

#216
post #187

Currently using my Framework laptop with Arch Linux. Was able to get everything working, including Bluetooth. Even got the battery life tamed. So far, my favorite laptop since the Thinkpad T42 I had back in the day (other laptops I’ve owned: 2013 MB Air, Dell XPS 15 9550, and a 2018 MBP)

What are your thoughts on the 9550? Personally I think it is the worst laptop I have ever used. The battery life was abyssmal, the graphics card constantly had issues. At one point plugging anything into the USB-C port caused sparking.. The worst bit was how loud the fan used to run.. if it had spun any faster you'd think it would start hovering.

My experience mirrors yours. Its current duty is playing videos and music for my exercise bike but boy was I happy to rid myself of it as a daily driver. Too bad, because Linux worked great on it for me.

Re: NixOS on Framework Laptop

#217
post #47

Currently using my Framework laptop with Arch Linux. Was able to get everything working, including Bluetooth. Even got the battery life tamed. So far, my favorite laptop since the Thinkpad T42 I had back in the day (other laptops I’ve owned: 2013 MB Air, Dell XPS 15 9550, and a 2018 MBP)

What's the secret on battery life?

The archwiki has a ton of interesting content on optimizing battery life on linux-

https://wiki.archlinux.org/title/TLP https://wiki.archlinux.org/title/Laptop https://wiki.archlinux.org/title/Power_management

Even if you're not running arch, the archwiki is an amazing source of information

Re: NixOS on Framework Laptop

#218

Earlier quoted context omitted.

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

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

Can you recommend any links or literature to learn more about systemd, beyond the basics?

Re: NixOS on Framework Laptop

#219
post #164
post #124

Earlier quoted context omitted.

I imagine the part you don't like must be the acceleration curve, which is generally adjustable on Linux

The acceleration curve and default scroll speed are pretty horrendous in linux in my experience. The advantage of course is I can just add a command to my init file to adjust it but the scrolling speed isn't exposed in the settings apps of any of the major DEs as far as I know.

Yeah. NixOS has facilities for adjusting those acceleration curves and scroll speed in a universal/pre-DE way, as well.

My preference is to disable acceleration in favor of very high sensitivity for physical mice, to disable small touchpads (like on old Windows laptops) and retain a substantial but smooth acceleration curve for large touchpads (like on a Mac).

I think the DEs often let you adjust how many lines a single scroll increment scrolls by, but not the size of movement that triggers a scroll increment on the touchpad. I think depending on your touchpad driver (evdev is usually more flexible than, say, synaptics) and maybe your choice of display server (Wayland vs. Xorg), you can adjust the other aspect of touchpad scrolling.

Re: NixOS on Framework Laptop

#220

Earlier quoted context omitted.

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…

I have a Framework laptop and it's sturdy as hell. At least as much as any MBP I've touched.

Opening it with one hand feels great. The thought of it "feeling like it's going to break" has never crossed my mind.

Post reply on HN