mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
serverle: switch to FAT-bootloader
This commit is contained in:
parent
a1ffa50498
commit
a354d4c88e
1 changed files with 22 additions and 13 deletions
|
@ -1,6 +1,8 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
boot.loader.raspberryPi.firmwareConfig = ''
|
boot.loader = {
|
||||||
|
raspberryPi = {
|
||||||
|
firmwareConfig = ''
|
||||||
# Disable the ACT LED.
|
# Disable the ACT LED.
|
||||||
dtparam=act_led_trigger=none
|
dtparam=act_led_trigger=none
|
||||||
dtparam=act_led_activelow=off
|
dtparam=act_led_activelow=off
|
||||||
|
@ -16,6 +18,13 @@
|
||||||
dtparam=sd_pool_once=on
|
dtparam=sd_pool_once=on
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# the bootloader has to be enabled for fat systems. for ext use the other one.
|
||||||
|
enable = true;
|
||||||
|
version = 4;
|
||||||
|
};
|
||||||
|
generic-extlinux-compatible.enable = false;
|
||||||
|
};
|
||||||
|
|
||||||
# Kernel configuration
|
# Kernel configuration
|
||||||
boot.kernelParams = [ "cma=64M" "console=tty0" ];
|
boot.kernelParams = [ "cma=64M" "console=tty0" ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue