mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-03 20:23:08 +00:00
~
This commit is contained in:
parent
a15a59af09
commit
7cdc89ddeb
7 changed files with 247 additions and 11 deletions
20
nixos/hosts/near/hardware-configuration.nix
Normal file
20
nixos/hosts/near/hardware-configuration.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ ... }: {
|
||||
raspberry-pi-nix.board = "bcm2712"; # RPI5 64bit
|
||||
hardware.raspberry-pi.config.all = let
|
||||
o = k: v: {
|
||||
name = k;
|
||||
value = {
|
||||
enable = true;
|
||||
value = v;
|
||||
};
|
||||
};
|
||||
in {
|
||||
base-dt-params = builtins.listToAttrs [
|
||||
(o "BOOT_UART" 1)
|
||||
(o "uart_2ndstage" 1)
|
||||
];
|
||||
dt-overlays = builtins.listToAttrs [
|
||||
(o "disable-bt" {})
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue