turris omnia: default rootfs and bootloader settings
This commit is contained in:
parent
aa2160dd05
commit
55ed365920
@ -173,8 +173,13 @@
|
|||||||
../../modules/outputs/tftpboot.nix
|
../../modules/outputs/tftpboot.nix
|
||||||
../../modules/outputs/mbrimage.nix
|
../../modules/outputs/mbrimage.nix
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
rootfsType = lib.mkDefault "btrfs"; # override this if you are building tftpboot
|
||||||
|
rootOptions = lib.mkDefault "subvol=@";
|
||||||
|
|
||||||
services.mtd-name-links = mtd_by_name_links;
|
services.mtd-name-links = mtd_by_name_links;
|
||||||
kernel = {
|
kernel = {
|
||||||
src = pkgs.pkgsBuildBuild.fetchurl {
|
src = pkgs.pkgsBuildBuild.fetchurl {
|
||||||
@ -292,6 +297,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
boot = {
|
boot = {
|
||||||
|
loader.extlinux.enable = lib.mkDefault true; # override this if you are building tftpboot
|
||||||
commandLine = [
|
commandLine = [
|
||||||
"console=ttyS0,115200"
|
"console=ttyS0,115200"
|
||||||
"pcie_aspm=off" # ath9k pci incompatible with PCIe ASPM
|
"pcie_aspm=off" # ath9k pci incompatible with PCIe ASPM
|
||||||
|
Loading…
Reference in New Issue
Block a user