feat: work on laptop and shell stuff

This commit is contained in:
Kat Inskip 2025-10-22 17:07:43 -07:00
parent a4b63004fb
commit 1071288f6e
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
21 changed files with 165 additions and 38 deletions

View file

@ -1,7 +1,15 @@
_: {
{config, ...}: {
# https://github.com/NixOS/nixos-hardware/issues/1581
hardware.framework.enableKmod = false;
boot = {
initrd = {
availableKernelModules = ["nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod"];
};
kernelModules = ["cros_ec" "cros_ec_lpcs"];
extraModprobeConfig = "options snd_hda_intel power_save=0";
extraModulePackages = with config.boot.kernelPackages; [
framework-laptop-kmod
];
};
}

View file

@ -0,0 +1,4 @@
_: {
hardware.framework.laptop13.audioEnhancement.enable = true;
services.ucodenix.cpuModelId = "00A70F41";
}

View file

@ -7,6 +7,9 @@
(with tree.nixos.profiles; [
uefi
])
++ (with tree.nixos.hardware; [
amd
])
++ [
inputs.nixos-hardware.outputs.nixosModules.framework-13-7040-amd
];