!JQvnJacrwKgtkGHYHO:matrix.org

NixOS + Framework

225 Members
Discussing NixOS in the context of the Framework laptop50 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
25 Feb 2026
@jolman:matrix.orgJolman joined the room.20:13:09
26 Feb 2026
@johnazoidberg:matrix.orgDaniel Schaefer (Framework)

I made some progress on this PR, it's ready to review again

https://github.com/NixOS/nixpkgs/pull/270763

It's a useful tool to get information from kernel and firmware about the type-c subsystem.
I want to use it to improve what data the firmware reports to the OS on framework systems

03:07:42
@ahoneybun:matrix.org@ahoneybun:matrix.org left the room.18:21:51
28 Feb 2026
@sad1ee:catgirl.cloudsad1ee joined the room.18:41:52
1 Mar 2026
@somasis:matrix.orgkylie changed their profile picture.03:24:59
@somasis:matrix.orgkylie changed their display name from somasis to kylie.03:52:54
@itoncek:matrix.org@itoncek:matrix.org joined the room.18:01:40
2 Mar 2026
@saige:szp.lolleah how exactly should i configure stuff to get the best battery life possible on a framework 13 with the ryzen ai 9 370 hx? i enabled services.tuned along with the ppdSupport thing but wasn't sure if there was more i could do to get better battery life (haven't measured it yet really but it just feels a bit short sometimes...) 20:17:48
4 Mar 2026
@sabrina_the_bitch:matrix.orgSabrinaTheBitch joined the room.18:48:45
5 Mar 2026
@kintrix:matrix.org@kintrix:matrix.org left the room.17:13:09
7 Mar 2026
@qmoran:matrix.orgQuin joined the room.23:41:28
8 Mar 2026
@ixxie:matrix.orgMatan (ixxie) changed their display name from ixxie (Matan) to Matan (ixxie).10:42:50
10 Mar 2026
@kasek:matrix.orgkasekis tuned needed? I thought just ppd that's already part of the hardware flake https://github.com/NixOS/nixos-hardware/blob/master/framework/13-inch/common/amd.nix15:24:12
@dantefromhell:matrix.orgdantefromhellI havent seen any measurable improvements by running tuned. I've been wondering if some of the more power tuned distros come with specific tuned rules that nixos might not have?16:48:21
@kasek:matrix.orgkasekI've seen some mention of people using the cachy kernel (not directly mentioning framework) and mentioning better performance not sure on power savings. So far on powersaver in ppd I get reasonable battery life. Not macbook levels but decent16:52:48
@saige:szp.lolleahnot sure honestly, thought i had read about it somwhere... but if its pointless to enable then i'll remove it and just rely on the hardware flake enabling ppd.18:28:14
@saige:szp.lolleah also recently switched to the cachyos kernel, specifically linuxPackages-cachyos-bore-lto which i think is the correct option? not sure yet if its having an effect (i thought i was already running the cachyos kernel a while ago tbh, but i must've accidentally reverted it or just completely imagined switching to it in the first place). 18:30:09
@dantefromhell:matrix.orgdantefromhell
In reply to @saige:szp.lol
also recently switched to the cachyos kernel, specifically linuxPackages-cachyos-bore-lto which i think is the correct option? not sure yet if its having an effect (i thought i was already running the cachyos kernel a while ago tbh, but i must've accidentally reverted it or just completely imagined switching to it in the first place).
do you happen to know if the cachyos kernels work with zfs?
19:16:11
@saige:szp.lolleahi haven't tried it personally (i just use the default which i think was ext4?) but the flake im using has docs for using zfs https://github.com/xddxdd/nix-cachyos-kernel?tab=readme-ov-file#how-to-use-zfs-modules19:17:19
@dantefromhell:matrix.orgdantefromhellooh sweet, thx a lot 👍19:18:40
@saige:szp.lolleahnp, setting up the flake is a bit weird imo but that's just cause i don't have experience using overlays (i really need to figure those out sometime)19:20:09
@dantefromhell:matrix.orgdantefromhellI'm quite impressed by the matrix of settings available via the `nix-cachyos-kernel` flake. 19:31:32
@albertlarsan68:albertlarsan.frAlbert Larsan

How did you get nix-cachyos-kernel to work with the framework kmod?
I get the following error:

error:
       … while calling the 'head' builtin
         at «github:NixOS/nixpkgs/71caefce12ba78d84fe618cf61644dce01cf3a96?narHash=sha256-yf3iYLGbGVlIthlQIk5/4/EQDZNNEmuqKZkQssMljuw%3D»/lib/attrsets.nix:1696:13:
         1695|           if length values == 1 || pred here (elemAt values 1) (head values) then
         1696|             head values
             |             ^
         1697|           else

       … while evaluating the attribute 'value'
         at «github:NixOS/nixpkgs/71caefce12ba78d84fe618cf61644dce01cf3a96?narHash=sha256-yf3iYLGbGVlIthlQIk5/4/EQDZNNEmuqKZkQssMljuw%3D»/lib/modules.nix:1118:7:
         1117|     // {
         1118|       value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |       ^
         1119|       inherit (res.defsFinal') highestPrio;

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/arylzmnn080w2i8hi0x45pgkd3mmp53r-source/nixos/modules/system/activation/top-level.nix':

       … while evaluating the option `assertions':

       … while evaluating definitions from `/nix/store/7icp9601511yjcl1x2nqrx7id4z10vkz-source/framework/kmod.nix':

       … while evaluating the option `hardware.framework.enableKmod':

       … while evaluating the option `boot.kernelPackages':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute 'extend' missing
       at «github:NixOS/nixpkgs/71caefce12ba78d84fe618cf61644dce01cf3a96?narHash=sha256-yf3iYLGbGVlIthlQIk5/4/EQDZNNEmuqKZkQssMljuw%3D»/nixos/modules/system/boot/kernel.nix:65:9:
           64|         kernelPackages:
           65|         kernelPackages.extend (
             |         ^
           66|           self: super: {
19:53:29
12 Mar 2026
@saige:szp.lolleahcan you share your config? 19:02:16
@albertlarsan68:albertlarsan.frAlbert LarsanThe config is available at https://git.sr.ht/~albertlarsan68/dotfiles (the laptop is spruce-frame). I followed the guide and I got the error, and even disabling the framework kmod does not fix it. Did not commit nor push though19:13:11
13 Mar 2026
@blmr:matrix.orgblmr joined the room.01:51:32

Show newer messages


Back to Room ListRoom Version: 10