Following what exists for other distros, let’s open a topic for running NixOS on the FW16
I’m in batch 6 so I haven’t tried it yet, but my config is as ready as can be until I get my hands on it.
FYI: there is an issue for requesting support for the FW16 in NixOS/nixos-hardware.
Nothing there yet, I’ll try to do it if there’s anything worth sharing.
I don’t see anything that looks like a 16 NixOS configuration in your repo; are you referring to the configuration called “vm”?
I’ve got my config prepared as well (Batch 5). I opted to start with the 13 AMD nixos-hardware module, since all of its settings seem like they’re also going to apply on the 16. I’m very excited to hopefully get my laptop in the next few weeks and install NixOS!
I’m particularly excited about getting secure boot + hibernation working. I think that’s going to require a custom kernel build with lockdown disabled, since secure boot normally disables hibernation.
Indeed, I haven’t created yet the actual configuration for the FW16, I finalized the general setup.
I’ll use impermanence, the only difference with the vm setup will be the hardware settings + the swap size.
Glad that there already is a thread from users also planning on using NixOS with the FW16 - I am planning on also using nix but I am a first time user, so I still have to do a bit of learning coming from ‘normal’ linux distros like arch. Happy for any tipps and tricks you guys can give!
But I got a bit more time than you guys, as I am from batch 13.
One of the most general bit of advice that I can give you for now is: don’t hesitate to start early.
Grab the install ISO, install it in a virtual machine, break it endlessly until you’re satisfied with your setup
In the end, only a few changes would change for the FW16, mostly tweaking hardware related stuff:
Yeah somehow obvious but I haven’t thought about that. Sounds like a good idea! The fact that you can perfectly reproduce your system with a config still needs to sink.
Then I only have to tinker with the settings needed for gaming related stuff when the FW16 arrives, as I currently have no setup that allows me to to test stuff that needs graphics acceleration on a vm.
Really cool that you have the hardware working nicely !
If at some point you feel confident about the status of your hardware tweaks, feel free to share it in nixos/nixos-hardware
Since it seems like many of you are familiar with impermanence on NixOS, I was wondering if any of you have tips for how I could my issue regarding IME I posted about on the NixOS forums. My Framework16 is arriving on Monday and I’m hoping to have everything ironed out by then
For the fingerprint reader I did nothing special, I enabled the fprintd service.
services.fprintd.enable = true;
then I enrolled
sudo fprintd-enroll $USER
I’ve also done nothing special with power management. The recommendation from framework is to use power profiles daemon. (I was hoping to use TLP, but for now I’ve just set the battery max to 80 in the bios).
services.power-profiles-daemon.enable = true;
I’ll have to get back to you on the dgpu stuff when I have a little more time.
I’m running NixOS on my batch 3 unit currently. I am just using the framework 13 amd hardware configuration for now, because I don’t feel comfortable doing my own yet…
I’m running a flake based setup, and I’ll share my config later today once I get my git repo connected to github. Be forewarned, I’m a nixos novice, so my config may have some bad style/patterns, but it seems to be running great on my system so far.
I’ve been experimenting with power draw on PPD vs TLP, and my experience is that TLP, at least on unstable is just fine. PPD seems to hit a slightly lower aboslute minimum power consumption at dead idle (6.5W vs 7.5W), but actually doing anything has them consuming about the same amount of power. Looking at cpu statistics, it seems like PPD allows the cpu to get all the way down to 400MHz at idle, while TLP bottoms out around 1GHz. The other advantages it provides in terms of configurability have been worth it for me though. Especially using the “guided” cpu mode with a frequency cap (at 3.5GHz currently) has been great. The laptop still feels plenty fast for light work, and the fan never spins up during burst-y workloads, or light gaming. I’m not super well informed on why PPD is preferred, but the thing about the AMD P-states seems to be supported by TLP according to this documentation: Processor — TLP 1.6 documentation Maybe someone more technically knowledgeable could point out any other disadvantages of TLP.
edit: after doing some more testing with different workloads, it seems like the PPD power-saver profile also has some more aggressive cpu frequency limits of some description which ends up in better consumption figures in some things… this power management stuff is a deep rabbit hole for sure with the pstates and the epps and the governors etc. I’ll post some more benchmarks in the future, but I’d love to get some technical insight from someone who really knows their stuff.
I spent like an hour yesterday trying to get the fingerprint sensor working, and this was my issue lol. I had just enrolled my fingerprint for root rather than my user. Thanks for the tip!