mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
serverle/hardware-config: remove nixos-hardware defaults
This commit is contained in:
parent
f0b34de135
commit
610967d8dc
1 changed files with 0 additions and 10 deletions
|
@ -1,9 +1,5 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
# Boot
|
||||
boot.loader.grub.enable = false;
|
||||
boot.loader.raspberryPi.enable = true;
|
||||
boot.loader.raspberryPi.version = 4;
|
||||
boot.loader.raspberryPi.firmwareConfig = ''
|
||||
# Disable the ACT LED.
|
||||
dtparam=act_led_trigger=none
|
||||
|
@ -21,14 +17,8 @@
|
|||
'';
|
||||
|
||||
# Kernel configuration
|
||||
boot.kernelPackages = pkgs.linuxPackages_rpi4;
|
||||
boot.kernelParams = [ "cma=64M" "console=tty0" ];
|
||||
|
||||
# Enable additional firmware (such as Wi-Fi drivers).
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
#swapDevices = [{ device = "/swapfile"; size = 1024; }];
|
||||
|
||||
# Fix wifi disconnect
|
||||
networking.networkmanager.wifi.powersave = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue