Mount firmware partition at /boot

This commit is contained in:
coolneng 2021-02-03 03:41:40 +01:00
parent e65f322cfb
commit 37396a628c
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 11 additions and 2 deletions

View File

@ -4,8 +4,12 @@
# A bunch of boot parameters needed for optimal runtime on RPi 4B
boot.kernelPackages = pkgs.linuxPackages_rpi4;
boot.kernelParams =
[ "zfs.zfs_arc_max=134217728" "console=TTYAMA0,115200" "console=tty1" ];
boot.kernelParams = [
"zfs.zfs_arc_max=134217728"
"console=TTYAMA0,115200"
"console=tty1"
"8250.nr_uarts=1"
];
boot.loader.raspberryPi = {
enable = true;
version = 4;

View File

@ -16,6 +16,11 @@
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/2178-694E";
fsType = "vfat";
};
fileSystems."/vault" = {
device = "vault";
fsType = "zfs";