mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01:00
treewide: apply deadnix and statix
This commit is contained in:
parent
d7dfd13d25
commit
03c6d15152
117 changed files with 93 additions and 162 deletions
|
|
@ -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;
|
||||
}) ];
|
||||
};
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue