commit 55ed365920ca790e62aa8b1df3c1ea0bc318fec8
parent aa2160dd05dc4a0db52b29ba098f5554704898e3
Author: Daniel Barlow <dan@telent.net>
Date: Thu, 2 Jan 2025 23:36:15 +0000
turris omnia: default rootfs and bootloader settings
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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