Live data from Hacker News

NixOS on Framework Laptop

kvark.github.io

161–170 of 250 posts

Re: NixOS on Framework Laptop

#161
post #154

> X1 took 120s, so 4.5x slower… totally unexpected Your numbers are clearly suspicious. Did you ever take measures to circumvent the CPU throttling bug under Linux on your X1E? See [1]. Also, regarding your battery comments, when my X1E G1 was new I got great battery life, around 7-8 hours. I still get 5ish. > requires LUKS full-disk encryption, and having it setup conflicted with NVidia’s proprietary driver. This ju…

Regarding the LUKS encryption, he is likely talking about an encrypted /boot partition and using SecureBoot.

Re: NixOS on Framework Laptop

#162

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.

I suppose one can certainly adapt to mostly any sort of input device given enough time, but that does not mean that they're done well. Most people that have used trackpads in windows/linux land prior to the last 8 years or so could easily tell you how horrendous they were (and some still are). A lot of this comes down to software, of course. Microsoft's precision touchpad drivers were a game changer for Windows devices and made them at least comparable to the mac. Mac's trackpads are well thought out with its sensitivity and acceleration curves and the more recent 2015+ trackpads have been large and very pleasant to use without need to adjust. In contrast, the acceleration curves and scroll speeds in linux and windows require quit a bit of tweaking. Again, subjective, but the reason why most people that try a mac trackpad (with MacOS) find it to be a better experience is because they really nailed the default settings to be comfortable for most.

Re: NixOS on Framework Laptop

#163

Earlier quoted context omitted.

Check out kinto.sh for the ctrl/cmd remapping. PopOS has a decent tiling manager built in now. (Icon in top right corner by default) though I should note it isn’t as “hardcore” as classic tiling managers and is instead built primarily for approachability over pure power. Not exactly sure what you mean but quick look. If you mean spotlight, PopOS has a (imo better) equivalent bound by default to the Super key. If you…

Great, thanks for the pointers! Quick Look in this case is the quick open of files through finder by tapping 'Space'. Might be some equivalents, i'll look around.

There's an extension for gnome called either Gnome-Look or Sushi, can't look up which it is right now.

Re: NixOS on Framework Laptop

#164
post #124

Earlier quoted context omitted.

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

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.

Re: NixOS on Framework Laptop

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

I mean if you want to run existing configurations on your setup. Those aren't going to work. You can just install Nix on void though.

I had some users too but it still wasn't really worth it. I can't suggest it as a business model or a hobby project, you are basically going to be highly constrained by everything else on the system and your setup will just start looking like everything else eventually. Systemd also works fine as a session manager for whatever.

Re: NixOS on Framework Laptop

#166

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)

I had a 1600x1200 T42p and loved that thing to death too. My fav laptop ever though was the original 15" MacBook Retina from 2012. I pre-ordered mine the hour it came available, as I had been waiting years for a good IPS HiDPI laptop. I had never even owned a Mac before that. Mine was one of the first off the line where the display had a temporary-burn-in (very long ghosting for any pixels that are fixed for more tha…

Just a few more thoughts on setting up a high-megapixels workstation:

My ideal would probably be something similar to what Linus has set up. He uses long cables from a nearby closet, so even when the workstation fans are blasting he doesn't hear it. For now, I use 2 and 3 meter cables plugged into a mid tower sitting on the far side of my desk on the floor.

For why I'm not doing the workstation-in-another-room approach: The 4K@120fps HDR OLED relies on HDMI 2.0 cables, which are only recently available at 3 meter lengths. Linus is using a not-commercially-available prototype optical HDMI repeater to get longer cabling.

For normal use the system is near-silent and at full blast it's below the noise floor with a headset playing something at a reasonably low volume (and not distractingly loud even if I just have the headset on with nothing playing).

Re: NixOS on Framework Laptop

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

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.

Re: NixOS on Framework Laptop

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

Well I think you are supposed to just use systemctl to see what the configuration looks like.

Re: NixOS on Framework Laptop

#169
post #60

Earlier quoted context omitted.

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?

No, increasing just the font size is a hack. Unless you only use the terminal, doing this means not using GUI apps comfortably because icon size will not scale. Even if you somehow do make them scale, that increased font size and is limited to the screen you're working on. If you ever attach an external monitor to your laptop, it won't look right on that.

Avoid doing this unless you have no choice.

Re: NixOS on Framework Laptop

#170
post #10

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?

Nix + home-manager is how I started on arch. After moving about 80% of my Pacman-installed packages over to nix-configured packages bit by bit over weeks and after that all of my dotfiles I plunged into nixos. Transition was super smooth, can only recommend!

Can I install packages not present in the official NixOS repositories without learning the Nix DSL?
Post reply on HN