summaryrefslogtreecommitdiff
path: root/nixos/hardware-configuration.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-07-27 10:43:27 +0200
committerQuentin Aristote <quentin@aristote.fr>2022-07-27 10:43:27 +0200
commit979769484f6193d162b0687cb0b1e160460a20d6 (patch)
tree9675a24dbec862c4042d38ca92cab9748b94c255 /nixos/hardware-configuration.nix
parentd2aa9ac31aa3e67101e026f981592549188a7669 (diff)
os: re-enable gpu power management
Diffstat (limited to 'nixos/hardware-configuration.nix')
-rw-r--r--nixos/hardware-configuration.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix
index 989ca62..d77bde9 100644
--- a/nixos/hardware-configuration.nix
+++ b/nixos/hardware-configuration.nix
@@ -1,14 +1,19 @@
{ lib, pkgs, modulesPath, ... }:
{
- imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
+ imports = [
+ (modulesPath + "/installer/scan/not-detected.nix")
+
+ <nixos-hardware/dell/latitude/7490>
+ <nixos-hardware/common/pc/ssd>
+ ];
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
- boot.kernelParams = [ "i915.dc_enable=0" ];
+ # boot.kernelParams = [ "i915.dc_enable=0" ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/f5809224-8478-474f-b25d-dde1ada37957";