rpi-netboot: fix kernel
This commit is contained in:
parent
2547cfe54b
commit
d1e793f4c0
|
@ -6,7 +6,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.c3d2.audioServer.enable {
|
config = lib.mkIf config.c3d2.audioServer.enable {
|
||||||
boot.kernelPackages = pkgs.linuxPackages-rt_latest;
|
# higher than mkDefault but lower than no priority to allow easy overwriting in rpi-netboot
|
||||||
|
boot.kernelPackages = lib.mkOverride 900 pkgs.linuxPackages-rt_latest;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
mpd
|
mpd
|
||||||
|
|
|
@ -12,6 +12,9 @@
|
||||||
enable_uart=0
|
enable_uart=0
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
# repeat https://github.com/NixOS/nixos-hardware/blob/master/raspberry-pi/4/default.nix#L20
|
||||||
|
# to overwrite audio module
|
||||||
|
kernelPackages = pkgs.linuxKernel.packages.linux_rpi4;
|
||||||
kernelParams = [
|
kernelParams = [
|
||||||
"verbose" "shell_on_fail"
|
"verbose" "shell_on_fail"
|
||||||
"elevator=deadline"
|
"elevator=deadline"
|
||||||
|
|
Loading…
Reference in New Issue