40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||
# and may be overwritten by future invocations. Please make changes
|
||
# to /etc/nixos/configuration.nix instead.
|
||
{ config, lib, pkgs, modulesPath, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelPackages = pkgs.linuxPackages_5_15;
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.blacklistedKernelModules = [ "iwlwifi" ];
|
||
boot.extraModulePackages = [ ];
|
||
boot.kernelParams = ["intel_idle.max_cstate=1"];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/37e69920-a60d-4cb0-ae2f-b812f7a35dc8";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/A33B-F001";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
|
||
boot.loader.systemd-boot.enable = true;
|
||
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
||
hardware.cpu.intel.updateMicrocode = true;
|
||
|
||
system.stateVersion = "21.05";
|
||
}
|