diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/nixos/sils/basesystem.nix | 9 |
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; + }; }; } |