summaryrefslogtreecommitdiff
path: root/nixos/boot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/boot.nix')
-rw-r--r--nixos/boot.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/nixos/boot.nix b/nixos/boot.nix
index 8cd3afa..b91bde6 100644
--- a/nixos/boot.nix
+++ b/nixos/boot.nix
@@ -1,8 +1,11 @@
-{ config, ... }:
+{ config, pkgs, ... }:
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
+
+ <nixos-hardware/dell/latitude/7490>
+ <nixos-hardware/common/pc/ssd>
];
boot.loader = {
@@ -34,4 +37,13 @@
preLVM = true;
};
};
+
+ # Kernel
+ boot.initrd.availableKernelModules =
+ [ "usb_storage" ];
+ boot.kernelParams =
+ [ "i915.dc_enable=0" "intel_idle.max_cstate=1" ];
+ boot.kernelPackages = pkgs.linuxPackages_latest;
+
+ hardware.firmware = with pkgs; [ firmwareLinuxNonfree ];
}