Framework NixOS (Linux) users self-help

You can add bluez v 5.78 from unstable instead of building it (pretty much the same I guess, either way): How to use unstable nixpkgs in imports with flake? - #4 by adomixaszvers - Help - NixOS Discourse

Then hardware.bluetooth.package = unstable.bluez;,

Thanks @ElginRoko for the version tip! However; I’m still having issues with getting mic input from my bluetooth headphones. Was working a while back, then just stopped.

1 Like

I am actually using the same solution but it obviously only works if you added the unstable channel.

It seems to have fixed the problem for me.

Hey everyone,
13" AMD here.
On the latest kernel 6.12.4+ hibernate seems to stop working. It black screens and will sit there with power light on and black screen forever. I got a few LVM errors prior to the black screen so tried systemd but the same issues occurs.
Anyone else having this issue?
I just loaded 6.11.X and things are good again.

I encounter problem to install NixOS in Framework Laptop 13 Inter Core Ultra 7 165H. I did use Rufus and BalenaEtcher. It is not allow me to install at all.

I had this with my system76 Lemur pro. It turned out to be the display not being recognized correctly, and not resuming. Ensure that the drivers are correctly recognized. For me the fix was using the latest kernel:

Use newer kernel

boot.kernelPackages = pkgs.linuxPackages_latest;

I have the Intel(R) Core™ Ultra 7 155U CPU.

I hope this is helpful.
Joe

I believe the 6.8 kernel and newer is needed for the best support for Intel Ultra CPUs and since NixOS is still on 6.6 you won’t see that without that option for the latest Linux kernel so @Joe_Name is correct.

1 Like

Highly recommend checking out the nixos-hardware repo. It has community maintained NixOS modules for many hardware quirks for many computer models!

Hey Joe.
Thanks for replying. But yeah I was the using latest kernel and hibernation stopped working around 6.12.4. so downgraded to 6.11 and it works for now.
I keep testing the latest kernel point releases but no dice so far.
And yeah I’m importing the framework nix hardware module.
More just wondering if anyone else was having the issue.

Ironically, I had to NOT use the system76 modules, and use the latest kernel to get it to work. The new kernel had the support for the hardware, but the system76 modules were incompatable - the attempts in my configuration.nix:

#Try system76 Hardware support FAIL 2024Nov25
# hardware.system76.enableAll = true;
# services.power-profiles-daemon.enable = false;

# Use newer kernel
    boot.kernelPackages = pkgs.linuxPackages_latest;

I don’t know if the same could hold true with the AMD HW, but might be worth a try.

Joe

@Joe_Name you wouldn’t use the system76 module as that does not apply to this and currently it does not build for the 6.12 kernel (that should be fixed soon though). There are Framework modules depending on the hardware which folks are recommending.

You’re right. You wouldn’t.

Hello, I just staring using NixOS. How to add store repository from NixOS similar the snap store. I am super new to NixOS, and Linux.

Starter info at: Nixpkgs - NixOS Wiki.

If you still need guidance, this would best be asked as a new question at https://discourse.nixos.org/.

1 Like

Got it.

I am running 24.11 with the latest kernel on the AMD 13" and the nixos-hardware repo, plasma desktop with wayland. Every so often, my screen starts to flicker, gets progressively darker, until its completely black, all while on batter. When I plug it in, the screen turns back on and I get no more flickering. Seems like its a power management issue. Is anyone else seeing this?

I know there is a kernel option for display brightness though I thought it was upstream now.

I would be curious if it happens on Xorg as well and perhaps a different desktop? When this happens can you bring it back with the key combo?

It did not happen on Gnome with wayland.

I sort of think it must be something between ppd which nixos-hardware enables, and powerdevil, which is what plasma uses. Not sure tho.

Mm interesting, I bet it is one of the Power Management settings that Plasma has! It has different profiles depending on if it is on AC and Battery.

I have been seeing this as well. For me it seems to be power-profiles-daemon enabling amdgpu_panel_power when the battery hits 30%. I have disabled it with this and have not seen it again.

  # It seems there is a bug when amdgpu.abmlevel that kills the backlight now
  systemd.services.power-profiles-daemon.serviceConfig.ExecStart = [
    ""
    "${pkgs.power-profiles-daemon}/libexec/power-profiles-daemon --block-action=amdgpu_panel_power"
  ];
1 Like

That seems to be working so far, thanks!