Live data from Hacker News

NixOS on Framework Laptop

kvark.github.io

71–80 of 250 posts

Re: NixOS on Framework Laptop

#71

Is Framework already too big to fail with all this momentum? I really hope so. It's essentially the new Thinkpad.

They're still very small; for example they're doing batch production instead of continuous.

Re: NixOS on Framework Laptop

#72

Earlier quoted context omitted.

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…

Isn't UEFI, if configured correctly, supposed to protect against this?

Can you explain? How should UEFI be configured to do this, from a Linux perspective? I'd love to improve my security

Re: NixOS on Framework Laptop

#73
post #24

I take it the big vendors (HP, Dell, etc) are now going to start adopting Framework's business model? If not the obviously somebody's gonna try and buy them for billions.

Why would they? Most people will still buy a generic laptop. Fairphone released version 4 already and it's not like Samsung, Apple, Motorola, and others got even close to that level of repairability.

Re: NixOS on Framework Laptop

#74

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?

I started out just using Nix for development on Fedora and macOS, with home-manager coming later. Was a good way to get into Nix without taking the full NixOS plunge.

Re: NixOS on Framework Laptop

#75

Earlier quoted context omitted.

Isn't UEFI, if configured correctly, supposed to protect against this?

Can you explain? How should UEFI be configured to do this, from a Linux perspective? I'd love to improve my security

In theory, secure boot checksums the bootloader and fails to boot if it has been modified. Using it with Linux can be a bit tricky. openSUSE has a tool to help sign your kernel, I don't know how other distributions do it.

https://en.opensuse.org/openSUSE:UEFI#Secure_Boot

Re: NixOS on Framework Laptop

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

It's not what you're asking but I wonder if NixOS's hardware repo could expand to support Framework with some good defaults That being said, I think there could be a good use case for "meta" NixOS distributions. I'm working on such a thing for a NixOS based RetroArch type thing. But could see a PopOS like configuration, focused on on an “out the box experience” https://github.com/NixOS/nixos-hardware

Yes.

Anyone with the hardware is welcome to contribute to nixos-hardware!

Even "no-op empty configs" are good imo as they show "there's no magic sauce needed".

Re: NixOS on Framework Laptop

#77
post #32

Earlier quoted context omitted.

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

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.

Re: NixOS on Framework Laptop

#78
post #36

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

My right shift key on thinkpad is full size and i've got full size up/down arrow buttons too (on a 12.5 inch laptop). So it definitely is doable and there is no need for tradeoffs.

I can't say for your particular model, since you didn't list it, but there is generally a trade-off: the arrow keys make the keyboard area larger and less "squared" (rectangled) as they will protrude from the bottom of the keyboard.

This, in turn, is a trade-off for manufacturing. It will increase the cost of everything slightly. The keyboard unit itself as it will be larger, maye be harder to produce. Machining or producing the chassis now requires accounting for an additional cut.

This is all solvable, yes. Though it is harder for smaller scale productions. It is likely they are working with vendors that, themselves, only have "entirely rectangular" keyboards as this is what the market ends up wanting for cost reasons.

Re: NixOS on Framework Laptop

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

Does this also adjust icon sizes in apps' toolbars?
Post reply on HN