chore: format repo using treefmt-nix and nixfmt-rfc-style

This commit is contained in:
Andre
2025-06-04 12:11:03 -04:00
parent fc7c471412
commit 51e51e6014
266 changed files with 3721 additions and 2733 deletions

View File

@@ -1,4 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}:
lib.mkIf config.hardware.librem5.lockdownFix {
# We blacklist the drivers so they don't load during early boot when the sensors are disconnected,
boot.blacklistedKernelModules = [
@@ -17,10 +22,10 @@ lib.mkIf config.hardware.librem5.lockdownFix {
};
# udev rules from librem5-base handle going into "lockdown mode" and back.
assertions = [{
assertion = with config.hardware.librem5;
lockdownFix -> installUdevPackages;
message =
"'hardware.librem5.lockdownFix' requires 'hardware.librem5.installUdevPackages', but it is not enabled.";
}];
assertions = [
{
assertion = with config.hardware.librem5; lockdownFix -> installUdevPackages;
message = "'hardware.librem5.lockdownFix' requires 'hardware.librem5.installUdevPackages', but it is not enabled.";
}
];
}