rpi: fix boot failures on rpi
This commit is contained in:
parent
39291a65f3
commit
09d031a4cf
@ -9,14 +9,9 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/common/default.nix
|
||||
../../modules/rpi/rpi4.nix
|
||||
];
|
||||
|
||||
config.boot.loader.grub.enable = false;
|
||||
config.boot.loader.raspberryPi = {
|
||||
enable = true;
|
||||
version = 4;
|
||||
};
|
||||
|
||||
# Networking
|
||||
## Tailscale
|
||||
config.tailscaleAdvertiseRoutes = "10.64.50.0/24,10.239.19.0/24";
|
||||
|
@ -9,14 +9,9 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/common/default.nix
|
||||
../../modules/rpi/rpi4.nix
|
||||
];
|
||||
|
||||
config.boot.loader.grub.enable = false;
|
||||
config.boot.loader.raspberryPi = {
|
||||
enable = true;
|
||||
version = 4;
|
||||
};
|
||||
|
||||
# Networking
|
||||
## Tailscale
|
||||
config.tailscaleAdvertiseRoutes = "10.10.0.0/24";
|
||||
|
7
modules/rpi/rpi4.nix
Normal file
7
modules/rpi/rpi4.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
config.boot.loader.grub.enable = false;
|
||||
config.boot.loader.generic-extlinux-compatible.enable = true;
|
||||
config.boot.kernelPackages = pkgs.linuxPackages_rpi4;
|
||||
}
|
Loading…
Reference in New Issue
Block a user