machines/core: move nixpkgs config to nix file and remove redundant hardware setting

This commit is contained in:
Felix Buehler 2023-03-18 19:04:59 +01:00
parent 855f050cd7
commit 0e66ff3967
2 changed files with 1 additions and 6 deletions

View file

@ -1,12 +1,6 @@
{ config, lib, pkgs, ... }:
{
# Enable all firmware modules, so that bluetooth and wifi modules can load
# https://github.com/NixOS/nixpkgs/issues/85377#issuecomment-616424682
hardware.enableRedistributableFirmware = true;
hardware.enableAllFirmware = true;
nixpkgs.config.allowUnfree = true;
boot.initrd = {
availableKernelModules = [
"ahci"