This commit is contained in:
parent
a95d2bb5f9
commit
af7618ff51
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
hardware,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
@ -63,7 +64,6 @@
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
graphics = {
|
graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
|
@ -80,6 +80,12 @@
|
||||||
powerOnBoot = false;
|
powerOnBoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
imports = with hardware; [
|
||||||
|
(diskoConfigurations.standardEncrypted { disk = "/dev/nvme0n1"; })
|
||||||
|
common-cpu-intel
|
||||||
|
common-pc-ssd
|
||||||
|
];
|
||||||
|
|
||||||
services.power-profiles-daemon = {
|
services.power-profiles-daemon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue