diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-07-27 10:43:27 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-07-27 10:43:27 +0200 |
| commit | 979769484f6193d162b0687cb0b1e160460a20d6 (patch) | |
| tree | 9675a24dbec862c4042d38ca92cab9748b94c255 /nixos | |
| parent | d2aa9ac31aa3e67101e026f981592549188a7669 (diff) | |
os: re-enable gpu power management
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/configuration.nix | 2 | ||||
| -rw-r--r-- | nixos/hardware-configuration.nix | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index d961416..c384a54 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -7,8 +7,6 @@ { imports = [ <home-manager/nixos> - <nixos-hardware/dell/latitude/7490> - <nixos-hardware/common/pc/ssd> ./boot.nix ./locale.nix 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"; |
