flake: reformat with nixfmt
This commit is contained in:
parent
a79e641851
commit
eaf4f56ac0
117 changed files with 2667 additions and 1592 deletions
|
@ -1,4 +1,10 @@
|
|||
{ inputs, config, lib, pkgs, ... }:
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
{
|
||||
imports = [
|
||||
|
@ -13,8 +19,7 @@ with lib;
|
|||
|
||||
nixpkgs.overlays = [
|
||||
(final: super: {
|
||||
makeModulesClosure = x:
|
||||
super.makeModulesClosure (x // { allowMissing = true; });
|
||||
makeModulesClosure = x: super.makeModulesClosure (x // { allowMissing = true; });
|
||||
})
|
||||
];
|
||||
|
||||
|
@ -31,7 +36,12 @@ with lib;
|
|||
kernelPackages = mkForce pkgs.linuxPackages_rpi4;
|
||||
|
||||
# Removes ZFS >:(
|
||||
supportedFilesystems = mkForce [ "btrfs" "ntfs" "vfat" "ext4" ];
|
||||
supportedFilesystems = mkForce [
|
||||
"btrfs"
|
||||
"ntfs"
|
||||
"vfat"
|
||||
"ext4"
|
||||
];
|
||||
|
||||
tmp.useTmpfs = true;
|
||||
# kernelParams = [
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
{ modulesPath, config, lib, pkgs, ... }:
|
||||
{
|
||||
modulesPath,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
#formatAttr = "sdImage";
|
||||
|
@ -18,7 +24,11 @@
|
|||
# The serial ports listed here are:
|
||||
# - ttyS0: for Tegra (Jetson TX1)
|
||||
# - ttyAMA0: for QEMU's -machine virt
|
||||
boot.kernelParams = [ "console=ttyS0,115200n8" "console=ttyAMA0,115200n8" "console=tty0" ];
|
||||
boot.kernelParams = [
|
||||
"console=ttyS0,115200n8"
|
||||
"console=ttyAMA0,115200n8"
|
||||
"console=tty0"
|
||||
];
|
||||
|
||||
#sdImage = {
|
||||
# populateFirmwareCommands =
|
||||
|
@ -34,29 +44,29 @@
|
|||
# kernel=u-boot-rpi4.bin
|
||||
# enable_gic=1
|
||||
# armstub=armstub8-gic.bin
|
||||
#
|
||||
#
|
||||
# # Otherwise the resolution will be weird in most cases, compared to
|
||||
# # what the pi3 firmware does by default.
|
||||
# disable_overscan=1
|
||||
#
|
||||
#
|
||||
# # Supported in newer board revisions
|
||||
# arm_boost=1
|
||||
#
|
||||
#
|
||||
# [cm4]
|
||||
# # Enable host mode on the 2711 built-in XHCI USB controller.
|
||||
# # This line should be removed if the legacy DWC2 controller is required
|
||||
# # (e.g. for USB device mode) or if USB support is not required.
|
||||
# otg_mode=1
|
||||
#
|
||||
#
|
||||
# [all]
|
||||
# # Boot in 64-bit mode.
|
||||
# arm_64bit=1
|
||||
#
|
||||
#
|
||||
# # U-Boot needs this to work, regardless of whether UART is actually used or not.
|
||||
# # Look in arch/arm/mach-bcm283x/Kconfig in the U-Boot tree to see if this is still
|
||||
# # a requirement in the future.
|
||||
# enable_uart=1
|
||||
#
|
||||
#
|
||||
# # Prevent the firmware from smashing the framebuffer setup done by the mainline kernel
|
||||
# # when attempting to show low-voltage or overtemperature warnings.
|
||||
# avoid_warnings=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue