From 1e50b99a634fb78aa11d4159f41a261816094720 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Sat, 20 Apr 2024 19:17:14 +0200 Subject: sils/basesystem: explicitely enable redistributable firmware --- modules/nixos/sils/basesystem.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/nixos/sils/basesystem.nix b/modules/nixos/sils/basesystem.nix index aa8ef88..89b5a5f 100644 --- a/modules/nixos/sils/basesystem.nix +++ b/modules/nixos/sils/basesystem.nix @@ -7,10 +7,8 @@ }: let cfg = config.sils.basesystem; in { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; options.sils.basesystem.enable = lib.mkEnableOption "basesystem"; + config = lib.mkIf cfg.enable { networking.hostName = config.sils.meta.hostname; @@ -118,6 +116,9 @@ in { nixpkgs.hostPlatform = config.sils.meta.system; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware = { + cpu.intel.updateMicrocode = true; + enableRedistributableFirmware = true; + }; }; } -- cgit 1.4.1