Archived
1
0
forked from rarias/bscpkgs

Move the remaining hw config to common

This commit is contained in:
2023-04-18 18:38:08 +02:00
committed by Rodrigo Arias Mallo
parent 6978677cb5
commit 7e6c395ff8
3 changed files with 1 additions and 1 deletions

14
common/hw.nix Normal file
View File

@@ -0,0 +1,14 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -4,5 +4,6 @@
imports = [
./boot.nix
./fs.nix
./hw.nix
];
}