grimm-nixos-laptop/hardware-configuration.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

2023-11-28 23:24:43 +01:00
# 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")
2024-03-02 23:15:51 +01:00
# ./modules/nvidia.nix
2023-11-28 23:24:43 +01:00
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/3a4a7076-98e7-4ecd-bb07-7e182a04ceac";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/D20D-B5B0";
fsType = "vfat";
};
swapDevices = [ {
device = "/var/lib/swapfile";
size = 48*1024;
} ];
2023-11-28 23:24:43 +01:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2024-03-05 19:06:58 +01:00
hardware.bluetooth.enable = true;
2023-11-28 23:24:43 +01:00
}