From af7618ff51b64f88ea2921193ef9f8744d8ad6b0 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 20 Feb 2025 21:58:04 -0600 Subject: [PATCH] fix: flipflop hardware modules --- packages/hosts/flipflop.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/hosts/flipflop.nix b/packages/hosts/flipflop.nix index 1898ec4..13aaa87 100644 --- a/packages/hosts/flipflop.nix +++ b/packages/hosts/flipflop.nix @@ -1,4 +1,5 @@ { + hardware, pkgs, lib, config, @@ -63,7 +64,6 @@ boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; hardware = { - cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; graphics = { enable = true; enable32Bit = true; @@ -80,6 +80,12 @@ powerOnBoot = false; }; + imports = with hardware; [ + (diskoConfigurations.standardEncrypted { disk = "/dev/nvme0n1"; }) + common-cpu-intel + common-pc-ssd + ]; + services.power-profiles-daemon = { enable = true; };