mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 15:03:29 +01:00
treewide: apply deadnix and statix
This commit is contained in:
1 parent
d7dfd13d25
commit
03c6d15152
117 files changed
+93
-162
No files matched your search
@@ -1,4 +1,4 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.hardware.raspberry-pi."4";
|
||||
@@ -57,7 +57,7 @@ in
|
||||
overlays = [ (simple-overlay {
|
||||
target = "i2c0if";
|
||||
status = "okay";
|
||||
frequency = cfg.i2c0.frequency;
|
||||
inherit (cfg.i2c0) frequency;
|
||||
}) ];
|
||||
};
|
||||
})
|
||||
@@ -67,7 +67,7 @@ in
|
||||
overlays = [ (simple-overlay {
|
||||
target = "i2c1";
|
||||
status = "okay";
|
||||
frequency = cfg.i2c1.frequency;
|
||||
inherit (cfg.i2c1) frequency;
|
||||
}) ];
|
||||
};
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user