From 979769484f6193d162b0687cb0b1e160460a20d6 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Wed, 27 Jul 2022 10:43:27 +0200 Subject: os: re-enable gpu power management --- nixos/configuration.nix | 2 -- nixos/hardware-configuration.nix | 9 +++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'nixos') 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 = [ - - ./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") + + + + ]; 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"; -- cgit v1.2.3