mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
machines/core: move nixpkgs config to nix file and remove redundant hardware setting
This commit is contained in:
parent
855f050cd7
commit
0e66ff3967
2 changed files with 1 additions and 6 deletions
|
@ -1,12 +1,6 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ 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 = {
|
boot.initrd = {
|
||||||
availableKernelModules = [
|
availableKernelModules = [
|
||||||
"ahci"
|
"ahci"
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
unstable.flake = inputs.nixpkgs-unstable;
|
unstable.flake = inputs.nixpkgs-unstable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# auto upgrade with own flakes
|
# auto upgrade with own flakes
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue