rp5: add nixos-hardware for config

This commit is contained in:
Christoph Hollizeck 2024-11-23 22:44:33 +01:00
parent f8ec2f5d8f
commit b99a02b7a2
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -1,5 +1,7 @@
{
inputs,
lib,
modulesPath,
namespace,
pkgs,
...
@ -10,12 +12,12 @@ let
inherit (lib) mkForce;
in
{
# imports = with inputs.nixos-hardware.nixosModules; [
# (modulesPath + "/installer/scan/not-detected.nix")
# raspberry-pi-5
# ];
imports = with inputs.nixos-hardware.nixosModules; [
(modulesPath + "/installer/scan/not-detected.nix")
raspberry-pi-5
];
raspberry-pi-nix.board = "bcm2712";
raspberry-pi-nix.board = "bcm2711";
hardware = {
raspberry-pi = {