chore: format raspberry-pi/ with nixfmt --strict

This commit is contained in:
Issam E. Maghni committed 2026-02-28 14:01:28 -05:00
1 parent 41c6b421bd
commit 25b82e0755
7 files changed
+12 -39

No files matched your search

+2 -8
View File
@@ -29,11 +29,7 @@
boot = {
kernelPackages = lib.mkDefault (
pkgs.linuxPackagesFor (
pkgs.callPackage ../common/kernel.nix {
rpiVersion = 4;
}
)
pkgs.linuxPackagesFor (pkgs.callPackage ../common/kernel.nix { rpiVersion = 4; })
);
initrd.availableKernelModules = [
"usbhid"
@@ -62,7 +58,5 @@
}
];
hardware.firmware = [
(pkgs.callPackage ../common/raspberry-pi-wireless-firmware.nix { })
];
hardware.firmware = [ (pkgs.callPackage ../common/raspberry-pi-wireless-firmware.nix { }) ];
}
+3 -3
View File
@@ -14,9 +14,9 @@ in
{
options.hardware = {
raspberry-pi."4".leds = {
eth.disable = mkDisableOption ''ethernet LEDs.'';
act.disable = mkDisableOption ''activity LED.'';
pwr.disable = mkDisableOption ''power LED.'';
eth.disable = mkDisableOption "ethernet LEDs.";
act.disable = mkDisableOption "activity LED.";
pwr.disable = mkDisableOption "power LED.";
};
};
+1 -3
View File
@@ -19,7 +19,5 @@ in
};
};
config = lib.mkIf cfg.enable {
nixpkgs.overlays = [ dt_ao_overlay ];
};
config = lib.mkIf cfg.enable { nixpkgs.overlays = [ dt_ao_overlay ]; };
}
+1 -5
View File
@@ -1,8 +1,4 @@
{
config,
lib,
...
}:
{ config, lib, ... }:
let
cfg = config.hardware.raspberry-pi."4".xhci;
in