2024-07-23 16:14:27 +00:00
|
|
|
{inputs, ...}: {
|
|
|
|
imports = [
|
|
|
|
inputs.nixpkgs.nixosModules.notDetected
|
|
|
|
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-12th-gen
|
|
|
|
];
|
|
|
|
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
hardware.pulseaudio.enable = false;
|
|
|
|
services.pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa.enable = true;
|
|
|
|
pulse.enable = true;
|
|
|
|
jack.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
hardware.bluetooth = {
|
|
|
|
enable = true;
|
|
|
|
settings.General.FastConnectable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.loader.timeout = 0;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
2024-07-25 16:51:01 +00:00
|
|
|
boot.kernelParams = ["ia32_emulation=0"];
|
|
|
|
|
2024-07-23 16:14:27 +00:00
|
|
|
boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod"];
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
boot.kernelModules = ["kvm-intel"];
|
|
|
|
boot.extraModulePackages = [];
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
|
|
}
|