aboutsummaryrefslogtreecommitdiff
path: root/snowfall/systems/x86_64-linux/c-pc/hardware.nix
diff options
context:
space:
mode:
Diffstat (limited to 'snowfall/systems/x86_64-linux/c-pc/hardware.nix')
-rw-r--r--snowfall/systems/x86_64-linux/c-pc/hardware.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/snowfall/systems/x86_64-linux/c-pc/hardware.nix b/snowfall/systems/x86_64-linux/c-pc/hardware.nix
index d60d964..8f7f8cd 100644
--- a/snowfall/systems/x86_64-linux/c-pc/hardware.nix
+++ b/snowfall/systems/x86_64-linux/c-pc/hardware.nix
@@ -1,10 +1,6 @@
{ config, lib, pkgs, modulesPath, ... }:
{
- imports = [
- (modulesPath + "/installer/scan/not-detected.nix")
- ];
-
boot = {
loader.grub = {
enable = true;
@@ -55,6 +51,8 @@
swapDevices = [ ];
- nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+ hardware.enableRedistributableFirmware = true;
+ hardware.cpu.amd.updateMicrocode = true;
+
+ nixpkgs.hostPlatform = "x86_64-linux";
}