summary refs log tree commit diff stats
path: root/modules/nixos
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-20 19:17:14 +0200
committerSilas Schöffel <sils@sils.li>2024-04-20 19:17:14 +0200
commit1e50b99a634fb78aa11d4159f41a261816094720 (patch)
tree85c0d7a07632a5b74701fe51d8002b440069bfef /modules/nixos
parentsils: rename nix namespace to nix-config (diff)
downloadnix-config-1e50b99a634fb78aa11d4159f41a261816094720.tar.gz
nix-config-1e50b99a634fb78aa11d4159f41a261816094720.zip
sils/basesystem: explicitely enable redistributable firmware
Diffstat (limited to 'modules/nixos')
-rw-r--r--modules/nixos/sils/basesystem.nix9
1 files 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;
+    };
   };
 }