mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
feat: work on laptop and shell stuff
This commit is contained in:
parent
a4b63004fb
commit
1071288f6e
21 changed files with 165 additions and 38 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
4
nixos/hardware/framework/general.nix
Normal file
4
nixos/hardware/framework/general.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
_: {
|
||||
hardware.framework.laptop13.audioEnhancement.enable = true;
|
||||
services.ucodenix.cpuModelId = "00A70F41";
|
||||
}
|
||||
|
|
@ -7,6 +7,9 @@
|
|||
(with tree.nixos.profiles; [
|
||||
uefi
|
||||
])
|
||||
++ (with tree.nixos.hardware; [
|
||||
amd
|
||||
])
|
||||
++ [
|
||||
inputs.nixos-hardware.outputs.nixosModules.framework-13-7040-amd
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue