Live data from Hacker News

NixOS on Framework Laptop

kvark.github.io

51–60 of 250 posts

Re: NixOS on Framework Laptop

#51
Anyone know if they're planning on having a keyboard available that uses full-size up/down keys? (Or, if framework laptops are built such that you could easily swap out the keyboard in the future if they do?)

This looks super interesting for a long-term laptop, but small arrow keys bring me so much day-to-day anguish I wouldn't want to suffer through them long-term.

Re: NixOS on Framework Laptop

#52
post #9

Earlier quoted context omitted.

Seems to me like you could power some of the ports with a hub/switch if you're willing to restrict which ports accept advanced peripherals. You could even use a PCIe switch to get more Thunderbolt.

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

Re: NixOS on Framework Laptop

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

That class of attacks exists anyway unless you're using trusted boot. After all, your MBR isn't encrypted is it?

Re: NixOS on Framework Laptop

#54
post #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.

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

What about AMD?

Re: NixOS on Framework Laptop

#55

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…

It definitely does not support 1 hand lid operation. Despite the quality not being as high as a macbook pro (I've owned several for comparison) it absolutely does not feel cheap.

In cases where you may damage the device, part of the beauty is that all of the parts are sold by Framework and come with replacement guides and any tools you may need (usually just the included screwdriver).

Re: NixOS on Framework Laptop

#56
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…

Yes, systemd has a ton of surface area and options. Yes, the man pages are long. No, you don't need to read them--the beauty of systemd is you control how much of the complexity you use. Unit files can be 10 lines or 30. Most of the extra options are for security and hardening, when you need them you'll be glad they're easy to turn on. For the other components, I think have a stable, familiar, and consistent set of core services (boot, ntp, logging, networking) is glorious

Re: NixOS on Framework Laptop

#58
post #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.

That’s because it is more like a cellphone sleep. Keeps the wifi on. Can get push messages etc.

Re: NixOS on Framework Laptop

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

NixOS is based on systemd. But it also seems like NixOS would be a great foundation to use something besides systemd. It would take some work of course, but it feels like you'd be mostly working with the OS rather than fighting it.

However having used it, NixOS seems like it mitigates the worst aspects of systemd. It gets rid of that that /etc/systemd /lib/systemd symlink "cleverness" for overriding/enabling units. Being functional makes it so that when systemd mysteriously breaks - for example if there is a loop in dependencies - it's easy to track down the change that caused it. And rather than splaying the config out in a bunch of random "unit" files, it's all contained in the nix config. About the worst thing I can say is that defining your own service is a bit more obtuse that it needs to be, with the arbitrary terms of the systemd unit format carrying over into the Nix config.

Re: NixOS on Framework Laptop

#60

> Apparently, KDE Plasma5 does the scaling right. Setting it to 150% gives pleasuring look. Overall, I find KDE’s approach with a taskbar much more reasonable than what Gnome forces on me. It’s the paradigm shift from “tell me what you need” (modern Gnome, also Google) to “show me what you have” (KDE and others application menu, also your file manager). I like this aside and I noticed the same when I tried to use Gno…

Protip for Ubuntu on HiDPI displays. Set the screen to 100% (everything will be tiny), then go into "Universal Access" and enable "Large Text", and also increase the size of the mouse pointer while you're at it. Adjust terminal font sizes to taste, and set the browser to 125-150% scaling by default. That's how I run Ubuntu on HiDPI screens. Looks great.
Post reply on HN