Live data from Hacker News

NixOS on Framework Laptop

kvark.github.io

181–190 of 250 posts

Re: NixOS on Framework Laptop

#181
post #155

Earlier quoted context omitted.

Unfortunately I think you probably will have to work on it if you want to not break existing configurations, so maybe NixOS is not for you. You could try alpine possibly? But with that you will have to do the same with init.d, so it's going to be somewhat of an uphill battle either way I guess. This is generally why I would discourage maintaining a service manager outside of an established distro, I tried to do it fo…

I already use upstart on void no problem. Alpine would be a similar deal with me just managing the configs as raw text files via rsync. In fact my fork is already packaged in Alpine. A few people use it as a session manager for sway. There is no chance that my Nix changes would affect existing configurations. They would be completely self contained.

[deleted]

Re: NixOS on Framework Laptop

#182
post #62
post #48

Earlier quoted context omitted.

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]:…

This is a good spot to mention that we’re hiring a Firmware Engineer, and we’d love to bring someone on who has coreboot experience: https://jobs.lever.co/framework/af82bd1b-7ebd-46da-8ae4-7dab...

good! i'll buy one when i can know it won't spy on me. and might i suggest (if you don't have this already) a physical off-switch, not just for the mic and cam, but also for wifi and bluetooth.

Re: NixOS on Framework Laptop

#183

Earlier quoted context omitted.

> changing default shortcuts from CMD to CTRL. Is swapping the positions enough? I strongly recommend not to do this. I did it and it was a nightmare: some of mac's hotkeys are like linux hotkeys but reversing Meta & Ctrl, but not all of them. I adjusted the most egregious hotkeys, but there were always more. This went on for around a month. In the end, it was impossible for me to get used to the differences: my musc…

Yeah the inconsistency is what worries me. But my concern is that the CMD position (ALT on other keyboards, right beside space) is more ergonomic than the CTRL position, especially on laptops.

I strongly recommend binding CTRL to Caps lock. It's pretty ergonomic, and just feels natural. Also, that would force you in a different mindset, aiding in differentiation of your Mac and Linux

Re: NixOS on Framework Laptop

#184

Earlier quoted context omitted.

How’s the trackpad? How does it compare to a MacBook? I can’t find a non apple laptop that comes even close in terms of high sensitivity, yet amazing palm typing reject, and multi finger gestures that work in almost every context.

To me, Macbooks have the worst trackpad 'feel' so hopefully it's nothing like that.

Wow! That's actually the first time I've ever heard this opinion

Re: NixOS on Framework Laptop

#186

Earlier quoted context omitted.

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

It is indeed possible, in fact a Nix-based project to generate and manage init/OS-agnostic services was shown last year at NixCon: https://github.com/svanderburg/nix-processmgmt

Re: NixOS on Framework Laptop

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

Re: NixOS on Framework Laptop

#188
post #179

Earlier quoted context omitted.

I've actually done this on my primary setup which is an AMD ThinkPad connected to a 4K 27 inch display. I didn't know about issues with fractional scaling before I bought this monitor and now I keep everything at 1x scaling and have increased the font size. As I said, this setup has two big drawbacks - I can't use my laptop display without adjusting the font size - Almost all GUI apps look strange because the text is…

Ah yes, if your laptop is non-hidpi and your display is, you will have these issues. In my case both the laptop and the display are hidpi, and things work pretty well. Basically all devices I used in the last decade are hidpi.

My laptop has a 14 inch 1080p display which is ~157 PPI so it needs around 1.2x scaling. My external monitor is 27 inch 4K which is ~163 PPI so it needs at least 1.5x scaling.

The most obvious solution that fixes all of these problems is to buy displays that work with 2x scaling. A combination of 15 inch 4K or 13 inch 3000x2000 laptop display and a 27 inch 5K external display is the ideal combination because both of them would work with 2x scaling.

Re: NixOS on Framework Laptop

#190

Earlier quoted context omitted.

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

I doubt GuixSD would work on most modern hardware considering it uses the Linux-libre kernel. Using the Guix package manager itself sounds useful though.

Guix System works fine on modern hardware. I've been using it on new servers for the build farm at ci.guix.gnu.org and on laptops. Linux-libre has not been a problem.

The biggest recurring issue is with graphic cards that have poor support in Linux and require firmware blobs and with WiFi cards that have no free drivers / firmware.

It is trivial to use vanilla Linux with these machines as Guix System lets you use any other package for the `kernel` field in the configuration. The "nonguix" channel (hosted on Github) provides packages for vanilla Linux ("linux") in various versions, and also includes firmware packages that you can use in your config file.

If that's the only thing keeping you from using Guix System then I'm happy to say that it's a hurdle that is very easy to overcome.

Post reply on HN