From 55ed365920ca790e62aa8b1df3c1ea0bc318fec8 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 2 Jan 2025 23:36:15 +0000 Subject: [PATCH] turris omnia: default rootfs and bootloader settings --- devices/turris-omnia/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devices/turris-omnia/default.nix b/devices/turris-omnia/default.nix index bcf50f2..b25c043 100644 --- a/devices/turris-omnia/default.nix +++ b/devices/turris-omnia/default.nix @@ -173,8 +173,13 @@ ../../modules/outputs/tftpboot.nix ../../modules/outputs/mbrimage.nix ]; + }; + config = { + rootfsType = lib.mkDefault "btrfs"; # override this if you are building tftpboot + rootOptions = lib.mkDefault "subvol=@"; + services.mtd-name-links = mtd_by_name_links; kernel = { src = pkgs.pkgsBuildBuild.fetchurl { @@ -292,6 +297,7 @@ }; }; boot = { + loader.extlinux.enable = lib.mkDefault true; # override this if you are building tftpboot commandLine = [ "console=ttyS0,115200" "pcie_aspm=off" # ath9k pci incompatible with PCIe ASPM