Live data from Hacker News

NixOS on Framework Laptop

kvark.github.io

41–50 of 250 posts

Re: NixOS on Framework Laptop

#41
post #35

I don't get whats up with that "deep sleep", like there was S3 suspend for ages - did anything happen to it? Why can't you just suspend it and call it a day?

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

Re: NixOS on Framework Laptop

#42
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)

Re: NixOS on Framework Laptop

#43

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

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 OK understanding, fix a bug, or add a feature. Having software as complex as systemd taking so many roles, and making itself so ubiquitous and irreplaceable, makes me feel that I no longer have any control or understanding of my system, bugs or misfeatures just become things you live with, or you riddle yourself with arcane workarounds. Portability suffers, monoculture takes root.

I've lost faith in "mainstream" Linux distros. I use macOS and OpenBSD for workstations, and Alpine where I need e.g. Docker. It must either be simple enough to understand, or provide enough utility/convenience that the lack of (practical) source access is compensated. systemd fits neither category.

Re: NixOS on Framework Laptop

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

import framework.nix {}

The post itself shows that it is non-trivial to even boot this hardware with Nix.

Re: NixOS on Framework Laptop

#45
post #33

Earlier quoted context omitted.

It works fine if /boot is unencrypted. You can encrypt the rest of / and it's fine.

Doesn't running /boot without encryption open up a class of attacks?

Certainly. Security is always a balancing act. My primary concern is laptop being taken when traveling by Air or stolen. Encrypted root covers that, even with boot un-encrypted

Unencrypted boot leaves me vulnerable to a malicious actor taking my laptop, modifing grub and/or linux kernel to send and/or store my password to unlock the boot volume and then handing my laptop back and me typing in my un-lock password

Possible, but I view that threat as low

Re: NixOS on Framework Laptop

#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?

Re: NixOS on Framework Laptop

#48

is it possible to install coreboot or libreboot on this thing? does it have something equivalent to the intel management engine?

No, they're using a proprietary BIOS and firmware for the embedded controller. The hardware is all Intel and of course it has a management engine[1], even all the nasty vPro "features".

From the software freedom point of view it's very much a no go, although they are apparently going to release the firmware sources and looking into coreboot[2].

[1]: https://community.frame.work/t/does-intel-chip-have-intels-m...

[2]: https://community.frame.work/t/free-the-ec-and-coreboot-only...

Re: NixOS on Framework Laptop

#49
post #33

Earlier quoted context omitted.

Doesn't running /boot without encryption open up a class of attacks?

Certainly. Security is always a balancing act. My primary concern is laptop being taken when traveling by Air or stolen. Encrypted root covers that, even with boot un-encrypted Unencrypted boot leaves me vulnerable to a malicious actor taking my laptop, modifing grub and/or linux kernel to send and/or store my password to unlock the boot volume and then handing my laptop back and me typing in my un-lock password Poss…

Yeah, when someone has temporary physical access to your hardware you have lost anyways. They could perform hardware alterations and e.g. install hardware keyloggers into the device, etc.

Re: NixOS on Framework Laptop

#50
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 on the screen, it kind a scares me. How does it go for all of you? How's the build quality? also how's the track pad compared to mbp?

I don't want to own a laptop where opening the screen with 1 hand feels like it's going to break it. Kind a feels like dell inspiron all over again

Post reply on HN